powerpc/mm: Runtime allocation of mmu context maps for nohash CPUs
[deliverable/linux.git] / scripts / Makefile.build
index 463ddcc583edb93caac0d0da2079e65fc9f5593f..468fbc9016c7b0773db9073a28f655bdf31e372d 100644 (file)
@@ -198,9 +198,16 @@ cmd_modversions =                                                  \
        fi;
 endif
 
+ifdef CONFIG_64BIT
+arch_bits = 64
+else
+arch_bits = 32
+endif
+
 ifdef CONFIG_FTRACE_MCOUNT_RECORD
-cmd_record_mcount = scripts/recordmcount.pl "$(ARCH)" \
-       "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" "$(@)";
+cmd_record_mcount = perl $(srctree)/scripts/recordmcount.pl \
+       "$(ARCH)" "$(arch_bits)" "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" \
+       "$(NM)" "$(RM)" "$(MV)" "$(@)";
 endif
 
 define rule_cc_o_c
This page took 0.051343 seconds and 5 git commands to generate.