diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-25 01:16:11 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-27 21:34:10 -0400 |
commit | 43fee2b238959a7b46e2e8c0cd3305c7c044ded8 (patch) | |
tree | 930bb1b64865e593bc8bcfc6aedfbe1b675d44aa /arch/um | |
parent | 6b0709f5a50a98df5919ade32fd131dde10bdcb0 (diff) |
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 'arch/um')
-rw-r--r-- | arch/um/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index e54dda8a0363..8c35261f5706 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -169,7 +169,7 @@ define filechk_gen-asm-offsets | |||
169 | echo " *"; \ | 169 | echo " *"; \ |
170 | echo " */"; \ | 170 | echo " */"; \ |
171 | echo ""; \ | 171 | echo ""; \ |
172 | sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \ | 172 | sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" < $<; \ |
173 | echo ""; ) | 173 | echo ""; ) |
174 | endef | 174 | endef |
175 | 175 | ||