diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-25 07:16:11 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-28 03:34:10 +0200 |
commit | 43fee2b238959a7b46e2e8c0cd3305c7c044ded8 (patch) | |
tree | 930bb1b64865e593bc8bcfc6aedfbe1b675d44aa /Makefile | |
parent | ARM: at91: remove unused duplicated filechk_offsets (diff) | |
download | linux-43fee2b238959a7b46e2e8c0cd3305c7c044ded8.tar.xz linux-43fee2b238959a7b46e2e8c0cd3305c7c044ded8.zip |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1117,7 +1117,7 @@ define filechk_version.h echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) endef -$(version_h): $(srctree)/Makefile FORCE +$(version_h): FORCE $(call filechk,version.h) $(Q)rm -f $(old_version_h) |