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>
This commit is contained in:
Richard Purdie 2010-12-30 10:19:08 +00:00
parent 14762f71b9
commit 1b765b3bf6
1 changed files with 2 additions and 2 deletions

View 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
}