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
27# mkcompile_h will make sure to only update the27# mkcompile_h will make sure to only update the
28# actual file if its content has changed.28# actual file if its content has changed.
29 29
30 chk_compile.h = :30quiet_cmd_compile.h = CHK $@
31 quiet_chk_compile.h = echo ' CHK $@'31 cmd_compile.h = \
32silent_chk_compile.h = :32 $(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
33include/generated/compile.h: FORCE
34 @$($(quiet)chk_compile.h)
35 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
36 "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \33 "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \
37 "$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"34 "$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"
35
36include/generated/compile.h: FORCE
37 $(call cmd,compile.h)