]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-tools.inc: Userspace tools should be compiled with the userspace compiler,...
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 30 Dec 2010 10:19:08 +0000 (10:19 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 30 Dec 2010 10:19:08 +0000 (10:19 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/recipes-kernel/linux/linux-tools.inc

index 714207f860359453472bda0477521ef10f0f5d96..e42c8e3be7610259d1027cbfa89b66fe6326d115 100644 (file)
@@ -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
 }