summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-27 18:33:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-20 20:54:31 +0100
commitb46979910304977ee419073b3231c5bb1e6258f6 (patch)
treed83b1b2424e84155a87c624a6ceeb568d2a8ec52 /meta
parent0891b8789d4b5c0fb954b1cc3c6f3ea119eb2d05 (diff)
downloadpoky-b46979910304977ee419073b3231c5bb1e6258f6.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: bf7bbcf1f28f83b08b9067b13352af477bf48b37) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Armin Kuster <akuster@smtp.gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 19772d87c9..1f1f552ca4 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 += "\