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:
parent
14762f71b9
commit
1b765b3bf6
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue