From 1b765b3bf63b7ef1da4ad927c4007cd20b91e7f4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 30 Dec 2010 10:19:08 +0000 Subject: linux-tools.inc: Userspace tools should be compiled with the userspace compiler, not the kernel one Signed-off-by: Richard Purdie --- meta/recipes-kernel/linux/linux-tools.inc | 4 ++-- 1 file 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 } -- cgit v1.2.3-54-g00ecf