kbuild: echo the record_mcount command
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.
Signed-off-by Andi Kleen <[email protected]>
Cc Sam Ravnborg <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -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; \
_