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-02-11 17:40:07 +0000 |
commit | 2ec5a5473e463b2271e01f4baa143756ac2656a9 (patch) | |
tree | 537080f879ac49aa1b5c1835b608187e5dfbbae7 /meta/recipes-kernel/perf | |
parent | dddb84aae0074c8837cc5d16ac02728fcddfcb29 (diff) | |
download | poky-2ec5a5473e463b2271e01f4baa143756ac2656a9.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)
(From OE-Core rev: 8ae5965d8e9abf8cda37ec7efe236c285a08d7fa)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-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 3771cdb3e9..2a47f5260e 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 |