diff options
author | Alexey Brodkin <alexey.brodkin@synopsys.com> | 2018-10-31 21:54:23 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-07 23:08:55 +0000 |
commit | f059696c6018bfa92c3f86107130c80bc413616d (patch) | |
tree | fab2e196e00d966719fb45ed2b29aa3fa473df73 /meta | |
parent | a369f55ad368678b6d22d09512080ffb459ebcee (diff) | |
download | poky-f059696c6018bfa92c3f86107130c80bc413616d.tar.gz |
perf: Disable libunwind for ARC & RISCV64
libunwind is not yet ported for ARC & RISCV64 and on attempt
to build it for those arches we just get an error message.
If we explicitly disable libunwind it is gracefully handled by
perf build system and it just gets configured to not use it
so perf is still usable even on those arches.
(From OE-Core rev: bb06900a1f29fdd4066f6d7e7a961d230c2e9438)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index af099043e1..bae4948751 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -26,6 +26,10 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1" | |||
26 | PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit" | 26 | PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit" |
27 | PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" | 27 | PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native" |
28 | 28 | ||
29 | # libunwind is not yet ported for some architectures | ||
30 | PACKAGECONFIG_remove_arc = "libunwind" | ||
31 | PACKAGECONFIG_remove_riscv64 = "libunwind" | ||
32 | |||
29 | DEPENDS = " \ | 33 | DEPENDS = " \ |
30 | virtual/${MLPREFIX}libc \ | 34 | virtual/${MLPREFIX}libc \ |
31 | ${MLPREFIX}elfutils \ | 35 | ${MLPREFIX}elfutils \ |