diff mbox

[16/18] kbuild: echo the record_mcount command

Message ID 200909181949.n8IJnaVh019341@imap1.linux-foundation.org (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Morton Sept. 18, 2009, 7:49 p.m. UTC
From: Andi Kleen <andi@firstfloor.org>

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.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 scripts/Makefile.build |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff -puN scripts/Makefile.build~kbuild-echo-the-record_mcount-command scripts/Makefile.build
--- a/scripts/Makefile.build~kbuild-echo-the-record_mcount-command
+++ a/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;  \