diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-05-16 10:57:44 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-06-25 10:14:40 +0200 |
commit | 0580bce1312f75362662881c938192856167cf7e (patch) | |
tree | 7d75578e2a640208ae4c11e0786cbe725422c3cb /arch/s390/boot | |
parent | 78c95647e76d830e8193ac254a012b0e56d5675d (diff) | |
download | linux-0580bce1312f75362662881c938192856167cf7e.tar.bz2 |
s390/decompressor: extend .bss check for early code
Cover the decompressor code with no .bss usage compile time check.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r-- | arch/s390/boot/Makefile | 4 | ||||
-rw-r--r-- | arch/s390/boot/compressed/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index 70b50b41eda9..a1ca3b805c74 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -48,3 +48,7 @@ $(obj)/startup.a: $(OBJECTS) FORCE install: $(CONFIGURE) $(obj)/bzImage sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ System.map "$(INSTALL_PATH)" + +chkbss := $(OBJECTS) +chkbss-target := $(obj)/startup.a +include $(srctree)/arch/s390/scripts/Makefile.chkbss diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index 7cfca96b48ad..9665131b3cb2 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -74,3 +74,7 @@ $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) LDFLAGS_piggy.o := -r --format binary --oformat $(LD_BFD) -T $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) $(call if_changed,ld) + +chkbss := $(filter-out $(obj)/misc.o $(obj)/piggy.o,$(OBJECTS)) +chkbss-target := $(obj)/vmlinux.bin +include $(srctree)/arch/s390/scripts/Makefile.chkbss |