summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-30 10:19:08 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-30 10:19:08 +0000
commit1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4 (patch)
tree3b42cb3a2191c73ddc05f57a6187d7c270351167 /meta
parent14762f71b9f839432ede0406b9443ce20b918378 (diff)
downloadopenembedded-core-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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux/linux-tools.inc4
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
}