]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d7fcfe2cea6ddf3f4a18ee76b5936f616652b47
tree930bb1b64865e593bc8bcfc6aedfbe1b675d44aa
parent0357e93c74f6501dd78db84e0ff34ed767d8940c
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