]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/Makefile.build
Merge commit 'v2.6.28-rc3' into tracing/ftrace
[linux-2.6-omap-h63xx.git] / scripts / Makefile.build
index 463ddcc583edb93caac0d0da2079e65fc9f5593f..7a176773af85a9fee23db5ff6e23edb783c74009 100644 (file)
@@ -199,7 +199,8 @@ cmd_modversions =                                                   \
 endif
 
 ifdef CONFIG_FTRACE_MCOUNT_RECORD
-cmd_record_mcount = scripts/recordmcount.pl "$(ARCH)" \
+cmd_record_mcount = perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
+       "$(if $(CONFIG_64BIT),64,32)" \
        "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" "$(@)";
 endif