diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2015-01-15 11:54:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:08:18 +0000 |
commit | 4e13036d66b8eb61b998961243d28cdff8d855f4 (patch) | |
tree | cd3cdb08532e683dedf16e4f99b5801f6d86ca78 /meta/recipes-kernel/perf/perf.bb | |
parent | 46cdaf1c7bc597735d926af6a46f9483f7e57ce5 (diff) | |
download | poky-4e13036d66b8eb61b998961243d28cdff8d855f4.tar.gz |
perf: Add libdw unwind support to perf-libunwind feature
perf can use either libdw or libunwind dwarf unwinders, or neither.
The perf-libunwind feature implies that if disabled, neither should be
used, so have it disable both libdw and libunwind DWARF unwinders if
disabled.
This fixes [YOCTO #7129].
(From OE-Core rev: 868dd446fa2732858813e96dd8f3f64b2a9ec339)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index d2c9805412..bd57c6c246 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -64,7 +64,7 @@ B = "${WORKDIR}/${BPN}-${PV}" | |||
64 | 64 | ||
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',d)}" | 67 | LIBUNWIND_DEFINES = "${@perf_feature_enabled('perf-libunwind', '', 'NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1',d)}" |
68 | 68 | ||
69 | # The LDFLAGS is required or some old kernels fails due missing | 69 | # The LDFLAGS is required or some old kernels fails due missing |
70 | # symbols and this is preferred than requiring patches to every old | 70 | # symbols and this is preferred than requiring patches to every old |