kbuild: echo the record_mcount command
authorAndi Kleen <andi@firstfloor.org>
Fri, 18 Sep 2009 19:49:36 +0000 (12:49 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 20 Sep 2009 10:27:44 +0000 (12:27 +0200)
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/Makefile.build

index 5c4b7a400c182b5725491c1c1e498d9f5e377702..83eef0a82d967f1e6c616be32472ce71a2c6939a 100644 (file)
@@ -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;  \