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>
Showing
- Makefile 1 addition, 1 deletionMakefile
- arch/s390/kernel/syscalls/Makefile 3 additions, 3 deletionsarch/s390/kernel/syscalls/Makefile
- arch/um/Makefile 1 addition, 1 deletionarch/um/Makefile
- scripts/Kbuild.include 1 addition, 1 deletionscripts/Kbuild.include
- scripts/Makefile.lib 1 addition, 1 deletionscripts/Makefile.lib
Please register or sign in to comment