diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-06-28 19:21:36 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-07-02 12:32:22 +0200 |
commit | 7e0363b469f5d2ad00234497aad65c7b46db42c0 (patch) | |
tree | e985cc191cd7818e437cbc1d96feeba00b901739 /arch/s390 | |
parent | b887b1b106654141ab034061ef0cc8d471ebc683 (diff) | |
download | linux-stable-7e0363b469f5d2ad00234497aad65c7b46db42c0.tar.gz linux-stable-7e0363b469f5d2ad00234497aad65c7b46db42c0.tar.bz2 linux-stable-7e0363b469f5d2ad00234497aad65c7b46db42c0.zip |
s390/decompressor: avoid packing *.o.chkbss files into startup.a
startup.a build rule packs a list of prerequisites into archive. That
didn't take into account extra prerequisites added by chkbss, so that
zero length *.o.chkbss files were also packed into the archive.
To avoid that filter only real object from prerequisites list.
Acked-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')
-rw-r--r-- | arch/s390/boot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index e15baa7b8e0b..9e6668ee93de 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -40,7 +40,7 @@ $(obj)/compressed/vmlinux: $(obj)/startup.a FORCE $(Q)$(MAKE) $(build)=$(obj)/compressed $@ quiet_cmd_ar = AR $@ - cmd_ar = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(filter-out FORCE, $^) + cmd_ar = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(filter $(OBJECTS), $^) $(obj)/startup.a: $(OBJECTS) FORCE $(call if_changed,ar) |