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>
1 parent 7ec3287 commit 0cfd8c0ca0768e36eaebe95910bbcb5ab765a22b
@Masahiro Yamada Masahiro Yamada authored on 30 Apr 2020
Sascha Hauer committed on 4 May 2020
Showing 3 changed files
View
Makefile
View
common/Makefile
View
scripts/Kbuild.include