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>
This commit is contained in:
Родитель
19af35546d
Коммит
fab1e310d3
|
@ -27,6 +27,7 @@ $(obj)/version.o: include/linux/compile.h
|
||||||
# mkcompile_h will make sure to only update the
|
# mkcompile_h will make sure to only update the
|
||||||
# actual file if its content has changed.
|
# actual file if its content has changed.
|
||||||
|
|
||||||
|
chk_compile.h = :
|
||||||
quiet_chk_compile.h = echo ' CHK $@'
|
quiet_chk_compile.h = echo ' CHK $@'
|
||||||
silent_chk_compile.h = :
|
silent_chk_compile.h = :
|
||||||
include/linux/compile.h: FORCE
|
include/linux/compile.h: FORCE
|
||||||
|
|
|
@ -39,10 +39,13 @@ escsq = $(subst $(squote),'\$(squote)',$1)
|
||||||
# - If they are equal no change, and no timestamp update
|
# - If they are equal no change, and no timestamp update
|
||||||
# - stdin is piped in from the first prerequisite ($<) so one has
|
# - stdin is piped in from the first prerequisite ($<) so one has
|
||||||
# to specify a valid file as first prerequisite (often the kbuild file)
|
# to specify a valid file as first prerequisite (often the kbuild file)
|
||||||
|
chk_filechk = :
|
||||||
quiet_chk_filechk = echo ' CHK $@'
|
quiet_chk_filechk = echo ' CHK $@'
|
||||||
silent_chk_filechk = :
|
silent_chk_filechk = :
|
||||||
|
upd_filechk = :
|
||||||
quiet_upd_filechk = echo ' UPD $@'
|
quiet_upd_filechk = echo ' UPD $@'
|
||||||
silent_upd_filechk = :
|
silent_upd_filechk = :
|
||||||
|
|
||||||
define filechk
|
define filechk
|
||||||
$(Q)set -e; \
|
$(Q)set -e; \
|
||||||
$($(quiet)chk_filechk); \
|
$($(quiet)chk_filechk); \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче