From: Christopher Larson <chris_lar...@mentor.com>

Signed-off-by: Christopher Larson <kerg...@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

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to