diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-30 14:13:55 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-04 09:00:34 +0200 |
commit | 0cfd8c0ca0768e36eaebe95910bbcb5ab765a22b (patch) | |
tree | 34a477fe9cd2d87c5f4cd7f75ca9a17a0a58b963 /common | |
parent | 7ec32876a47508d1808a7b98531b68378ffda0a4 (diff) | |
download | barebox-0cfd8c0ca0768e36eaebe95910bbcb5ab765a22b.tar.gz barebox-0cfd8c0ca0768e36eaebe95910bbcb5ab765a22b.tar.xz |
kbuild: sync filechk rule with Linux 5.7-rc2
The 'filechk' in the latest Linux works more simply, reliably.
- Do not show CHK every time
- Delete the *.tmp file when the filechk_$(1) fails
- Do not open the first prerequisite. This is unneeded in most cases.
I deleted pointeless dependency on Makefile.
Also delete the meaningless assignment to 'targets' because filechk
does not generate .cmd file.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile index 84463b4d48..c14af692f9 100644 --- a/common/Makefile +++ b/common/Makefile @@ -86,11 +86,9 @@ echo "\";" \ endef endif -include/generated/passwd.h: $(srctree)/$(src)/Makefile FORCE +include/generated/passwd.h: FORCE $(call filechk,passwd) -targets += include/generated/passwd.h - $(obj)/password.o: include/generated/passwd.h endif # CONFIG_PASSWORD |