aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/compressed
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-05-16 10:57:44 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 10:14:40 +0200
commit0580bce1312f75362662881c938192856167cf7e (patch)
tree7d75578e2a640208ae4c11e0786cbe725422c3cb /arch/s390/boot/compressed
parents390: add custom target and make path extension optional for .bss check (diff)
downloadlinux-dev-0580bce1312f75362662881c938192856167cf7e.tar.xz
linux-dev-0580bce1312f75362662881c938192856167cf7e.zip
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/compressed')
-rw-r--r--arch/s390/boot/compressed/Makefile4
1 files changed, 4 insertions, 0 deletions
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