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 /meta | |
parent | 14762f71b9f839432ede0406b9443ce20b918378 (diff) | |
download | openembedded-core-1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4.tar.gz openembedded-core-1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4.tar.bz2 openembedded-core-1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4.zip |
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>
Diffstat (limited to 'meta')
-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 @@ # perf functionality from their tree. do_compile_perf() { - oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} } do_install_perf() { - oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} DESTDIR=${D} install + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install } |