The 'cmd' macro shows the short log only when $(quiet) is quiet_. Do not do it manually.
Unified · Split
| @@ -27,11 +27,11 @@ $(obj)/version.o: include/generated/compile.h · 26 unmodified lines | ||
| 27 | 27 | # mkcompile_h will make sure to only update the |
| 28 | 28 | # actual file if its content has changed. |
| 29 | 29 | |
| 30 | − chk_compile.h = : | |
| 31 | − quiet_chk_compile.h = echo ' CHK $@' | |
| 32 | −silent_chk_compile.h = : | |
| 33 | −include/generated/compile.h: FORCE | |
| 34 | − @$($(quiet)chk_compile.h) | |
| 35 | − $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \ | |
| 30 | +quiet_cmd_compile.h = CHK $@ | |
| 31 | + cmd_compile.h = \ | |
| 32 | + $(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \ | |
| 36 | 33 | "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \ |
| 37 | 34 | "$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)" |
| 35 | + | |
| 36 | +include/generated/compile.h: FORCE | |
| 37 | + $(call cmd,compile.h) | |