Patchwork [5/7] perf: remove /usr/local/include from default makefile includes

login
register
mail settings
Submitter Christopher Larson
Date Nov. 27, 2013, 6:07 p.m.
Message ID <37c0933469ccbac1f2657260e62e3f099526df18.1385575572.git.kergoth@gmail.com>
Download mbox | patch
Permalink /patch/62511/
State New
Headers show

Comments

Christopher Larson - Nov. 27, 2013, 6:07 p.m.
From: Christopher Larson <chris_larson@mentor.com>

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

Patch

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}' \