diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-08-18 18:58:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:35:53 -0400 |
commit | 6a4917e3ae5194a10e0723f96edc854c381e3063 (patch) | |
tree | 8aaefd805a3e4cc6df2050838d1ae44c5a8f9ca5 | |
parent | 3700273586ee6a58b95dd07d9f8a02db4a9b476f (diff) |
ftrace: fix build problem with CONFIG_FTRACE
I'm seeing when I use separate src/build dirs:
make[3]: *** [arch/x86/kernel/time_32.o] Error 1
/bin/sh: scripts/recordmcount.pl: No such file or directory
make[3]: *** [arch/x86/kernel/irq_32.o] Error 1
/bin/sh: scripts/recordmcount.pl: No such file or directory
make[3]: *** [arch/x86/kernel/ldt.o] Error 1
/bin/sh: scripts/recordmcount.pl: No such file or directory
make[3]: *** [arch/x86/kernel/i8259.o] Error 1
/bin/sh: scripts/recordmcount.pl: No such file or directory
This fixes it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 463ddcc583ed..232485ec5265 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -199,7 +199,7 @@ cmd_modversions = \ | |||
199 | endif | 199 | endif |
200 | 200 | ||
201 | ifdef CONFIG_FTRACE_MCOUNT_RECORD | 201 | ifdef CONFIG_FTRACE_MCOUNT_RECORD |
202 | cmd_record_mcount = scripts/recordmcount.pl "$(ARCH)" \ | 202 | cmd_record_mcount = $(srctree)/scripts/recordmcount.pl "$(ARCH)" \ |
203 | "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" "$(@)"; | 203 | "$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" "$(@)"; |
204 | endif | 204 | endif |
205 | 205 | ||