]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-tools.inc: turn off newt and dwarf for perf
authorTom Zanussi <tom.zanussi@intel.com>
Thu, 21 Apr 2011 07:41:58 +0000 (02:41 -0500)
committerSaul Wold <sgw@linux.intel.com>
Sat, 23 Apr 2011 05:03:58 +0000 (22:03 -0700)
Turn these off for now to avoid the host infection issues for perf.

Fixes yocto [BUGID #994].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
meta/recipes-kernel/linux/linux-tools.inc

index 2ac74a58b1a425a10c314a655c5bd3ce2e107256..d64c9be8c6deca813ce16257523a0bb5f3648975 100644 (file)
@@ -2,11 +2,11 @@
 # perf functionality from their tree.
 
 do_compile_perf() {
-       oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix}
+       oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1
 }
 
 do_install_perf() {
-       oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install
+       oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1
 }