summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-26 17:56:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-03 14:53:51 +0000
commit03038f3b9cedbad719eb648d90c23dfdef9dc9f5 (patch)
tree849190ddfd59f78dea916f547cdfef72c7fd36d3
parent312e8a10d229ecce5365857c008c0bfee4fd9105 (diff)
downloadpoky-03038f3b9cedbad719eb648d90c23dfdef9dc9f5.tar.gz
perf: add LIBNUMA_DEFINES
Fixed: WARNING: QA Issue: perf rdepends on numactl, but it isn't a build dependency? [build-deps] The numactl is in meta-oe. (From OE-Core rev: 175d6b4e598f78dfa17c101a36a82c0951615b7a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/perf/perf.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 6925eb22cc..fcfd0ada1f 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -65,6 +65,7 @@ B = "${WORKDIR}/${BPN}-${PV}"
65SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" 65SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}"
66TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}" 66TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}"
67LIBUNWIND_DEFINES = "${@perf_feature_enabled('perf-libunwind', '', 'NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1',d)}" 67LIBUNWIND_DEFINES = "${@perf_feature_enabled('perf-libunwind', '', 'NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1',d)}"
68LIBNUMA_DEFINES = "${@perf_feature_enabled('perf-libnuma', '', 'NO_LIBNUMA=1',d)}"
68 69
69# The LDFLAGS is required or some old kernels fails due missing 70# The LDFLAGS is required or some old kernels fails due missing
70# symbols and this is preferred than requiring patches to every old 71# symbols and this is preferred than requiring patches to every old
@@ -80,7 +81,8 @@ EXTRA_OEMAKE = '\
80 AR="${AR}" \ 81 AR="${AR}" \
81 EXTRA_CFLAGS="-ldw" \ 82 EXTRA_CFLAGS="-ldw" \
82 perfexecdir=${libexecdir} \ 83 perfexecdir=${libexecdir} \
83 NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${LIBUNWIND_DEFINES} ${SCRIPTING_DEFINES} \ 84 NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${LIBUNWIND_DEFINES} \
85 ${SCRIPTING_DEFINES} ${LIBNUMA_DEFINES} \
84' 86'
85 87
86EXTRA_OEMAKE += "\ 88EXTRA_OEMAKE += "\