Skip to contentSkip to conversation

kbuild: echo the record_mcount command

PATCH New [email protected] 1 participant 1 message Sep 14, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 16/18 kbuild: echo the record_mcount command

From: Andi Kleen <[email protected]>

I had some problems with record_mcount in the Makefile and it was hard to track down. Echo it by default to make it easier to diagnose.

---

 scripts/Makefile.build |    1 +
 1 file changed, 1 insertion(+)
scripts/Makefile.build renamed from scripts/Makefile.build~kbuild-echo-the-record_mcount-command +1 -0
diff -puN scripts/Makefile.build~kbuild-echo-the-record_mcount-command scripts/Makefile.build
@@ -216,6 +216,7 @@ define rule_cc_o_c
 	$(call echo-cmd,checksrc) $(cmd_checksrc)			  \
 	$(call echo-cmd,cc_o_c) $(cmd_cc_o_c);				  \
 	$(cmd_modversions)						  \
+	$(call echo-cmd,record_mcount)					  \
 	$(cmd_record_mcount)						  \
 	scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' >    \
 	                                              $(dot-target).tmp;  \

_