diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-04-17 16:32:27 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-04-26 12:34:05 +0200 |
commit | f6780686525cc69a16a893cac0dd6adfbf25b7ff (patch) | |
tree | 6d087acf586392597460ad488c0c522fd3dc7129 /arch/s390/boot | |
parent | s390/ipl: add helper functions to create an IPL report (diff) | |
download | linux-f6780686525cc69a16a893cac0dd6adfbf25b7ff.tar.xz linux-f6780686525cc69a16a893cac0dd6adfbf25b7ff.zip |
s390/boot: pad bzImage to 4K
In order to be able to sign the bzImage independent of the block size
of the IPL device, align the bzImage to 4096 bytes.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r-- | arch/s390/boot/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index 1f8fd68beae3..c1993c57300f 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -50,6 +50,7 @@ define cmd_section_cmp touch $@ endef +OBJCOPYFLAGS_bzImage := --pad-to $$(readelf -s $(obj)/compressed/vmlinux | awk '/\<_end\>/ {print or(strtonum("0x"$$2),4095)+1}') $(obj)/bzImage: $(obj)/compressed/vmlinux $(obj)/section_cmp.boot.data $(obj)/section_cmp.boot.preserved.data FORCE $(call if_changed,objcopy) |