Skip to content

Commit fab1e31

Browse files
committed
kbuild: fix make V=1
When make -s support were added to filechk to combination created with make V=1 were not covered. Fix it by explicitly cover this case too. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Mike Frysinger <vapier@gentoo.org>
1 parent 19af355 commit fab1e31

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎init/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ $(obj)/version.o: include/linux/compile.h
2727
# mkcompile_h will make sure to only update the
2828
# actual file if its content has changed.
2929

30+
chk_compile.h = :
3031
quiet_chk_compile.h = echo ' CHK $@'
3132
silent_chk_compile.h = :
3233
include/linux/compile.h: FORCE

‎scripts/Kbuild.include‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ escsq = $(subst $(squote),'\$(squote)',$1)
3939
# - If they are equal no change, and no timestamp update
4040
# - stdin is piped in from the first prerequisite ($<) so one has
4141
# to specify a valid file as first prerequisite (often the kbuild file)
42+
chk_filechk = :
4243
quiet_chk_filechk = echo ' CHK $@'
4344
silent_chk_filechk = :
45+
upd_filechk = :
4446
quiet_upd_filechk = echo ' UPD $@'
4547
silent_upd_filechk = :
48+
4649
define filechk
4750
$(Q)set -e; \
4851
$($(quiet)chk_filechk); \

0 commit comments

Comments
 (0)