[OE-core] [PATCH 5/7] perf: remove /usr/local/include from default makefile includes

Christopher Larson kergoth at gmail.com
Wed Nov 27 18:07:05 UTC 2013


From: Christopher Larson <chris_larson at mentor.com>

Signed-off-by: Christopher Larson <kergoth at gmail.com>
---
 meta/recipes-kernel/perf/perf.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 903ffa6..4fb8956 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -65,16 +65,17 @@ TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}"
 # supported kernel.
 LDFLAGS="-ldl -lutil"
 
-EXTRA_OEMAKE = \
-		'-C ${S}/tools/perf \
+EXTRA_OEMAKE = "\
+		-C ${S}/tools/perf \
 		O=${B} \
 		CROSS_COMPILE=${TARGET_PREFIX} \
 		ARCH=${ARCH} \
-		CC="${CC}" \
-		AR="${AR}" \
+		'CC=${CC}' \
+		'AR=${AR}' \
 		perfexecdir=${libexecdir} \
 		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \
-		'
+		'INCLUDES=-I. $(CONFIG_INCLUDES)' \
+		"
 
 EXTRA_OEMAKE += "\
 	'prefix=${prefix}' \
-- 
1.8.3.4




More information about the Openembedded-core mailing list