[2/2] ftrace: Use objtree for C version of recordmcount
diff mbox

Message ID 20101015161409.316533201@goodmis.org
State New, archived
Headers show

Commit Message

Steven Rostedt Oct. 15, 2010, 4:13 p.m. UTC
None

Patch
diff mbox

diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 4d03a7e..4db60b2 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -210,7 +210,7 @@  endif
 
 ifdef CONFIG_FTRACE_MCOUNT_RECORD
 ifdef BUILD_C_RECORDMCOUNT
-cmd_record_mcount = $(srctree)/scripts/recordmcount "$(@)";
+cmd_record_mcount = $(objtree)/scripts/recordmcount "$(@)";
 else
 cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
 	"$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \