diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 10:19:08 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 10:19:08 +0000 |
| commit | 1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4 (patch) | |
| tree | 3b42cb3a2191c73ddc05f57a6187d7c270351167 | |
| parent | 14762f71b9f839432ede0406b9443ce20b918378 (diff) | |
| download | poky-1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4.tar.gz | |
linux-tools.inc: Userspace tools should be compiled with the userspace compiler, not the kernel one
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
| -rw-r--r-- | meta/recipes-kernel/linux/linux-tools.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index 714207f860..e42c8e3be7 100644 --- a/meta/recipes-kernel/linux/linux-tools.inc +++ b/meta/recipes-kernel/linux/linux-tools.inc | |||
| @@ -2,11 +2,11 @@ | |||
| 2 | # perf functionality from their tree. | 2 | # perf functionality from their tree. |
| 3 | 3 | ||
| 4 | do_compile_perf() { | 4 | do_compile_perf() { |
| 5 | oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} | 5 | oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | do_install_perf() { | 8 | do_install_perf() { |
| 9 | oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} DESTDIR=${D} install | 9 | oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | 12 | ||
