diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-26 17:56:50 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-03 14:53:51 +0000 |
commit | 03038f3b9cedbad719eb648d90c23dfdef9dc9f5 (patch) | |
tree | 849190ddfd59f78dea916f547cdfef72c7fd36d3 /meta/recipes-kernel/perf/perf.bb | |
parent | 312e8a10d229ecce5365857c008c0bfee4fd9105 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
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}" | |||
65 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" | 65 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" |
66 | TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}" | 66 | TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}" |
67 | LIBUNWIND_DEFINES = "${@perf_feature_enabled('perf-libunwind', '', 'NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1',d)}" | 67 | LIBUNWIND_DEFINES = "${@perf_feature_enabled('perf-libunwind', '', 'NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1',d)}" |
68 | LIBNUMA_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 | ||
86 | EXTRA_OEMAKE += "\ | 88 | EXTRA_OEMAKE += "\ |