kbuild: do not redirect the first prerequisite for filechk
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 25 Jul 2018 05:16:11 +0000 (14:16 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Jul 2018 01:34:10 +0000 (10:34 +0900)
commit43fee2b238959a7b46e2e8c0cd3305c7c044ded8
tree930bb1b64865e593bc8bcfc6aedfbe1b675d44aa
parent6b0709f5a50a98df5919ade32fd131dde10bdcb0
kbuild: do not redirect the first prerequisite for filechk

Currently, filechk unconditionally opens the first prerequisite and
redirects it as the stdin of a filechk_* rule.  Hence, every target
using $(call filechk,...) must list something as the first prerequisite
even if it is unneeded.

'< $<' is actually unneeded in most cases.  Each rule can explicitly
adds it if necessary.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
arch/s390/kernel/syscalls/Makefile
arch/um/Makefile
scripts/Kbuild.include
scripts/Makefile.lib