s390: make built-in.a not directly depend on *.o.chkbss files
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 Jan 2019 10:02:42 +0000 (19:02 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 Jan 2019 00:11:17 +0000 (09:11 +0900)
commit5d680056cb6de18f0221e321ee51d60ccd700781
tree2d6de286c279702c355b0f2ea739d05e7b9d6c63
parentecbd10d90e9401563f1bcb768f42119c9cbfac91
s390: make built-in.a not directly depend on *.o.chkbss files

When I was refactoring cmd_ar_builtin in scripts/Makefile.build,
I noticed the build breakage of s390.

Some Makefiles of s390 add extra dependencies to built-in.a;
built-in.a depends on timestamp files *.o.chkbss, but $(AR) does
not want to include them into built-in.a.

Insert a phony target 'chkbss' in between so that $(AR) can take
$(filter-out $(PHONY), $^) as input.

While I was here, I refactored Makefile.chkbss a little bit.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/boot/Makefile
arch/s390/boot/compressed/Makefile
arch/s390/scripts/Makefile.chkbss