History

init: use $(call cmd,) for generating include/generated/compile.h

The 'cmd' macro shows the short log only when $(quiet) is quiet_. Do not do it manually.

Masahiro Yamada committed 5 years ago

Commit 41eba231 parent 2728fcf1 file · +6 −6Browse files

Unified · Split

init/Makefile+6−6
@@ -27,11 +27,11 @@ $(obj)/version.o: include/generated/compile.h · 26 unmodified lines
2727 # mkcompile_h will make sure to only update the
2828 # actual file if its content has changed.
2929
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 $@ \
3633 "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \
3734 "$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"
35+
36+include/generated/compile.h: FORCE
37+ $(call cmd,compile.h)