[oe-commits] [openembedded-core] 23/46: perf: Disable libunwind for ARC & RISCV64

git at git.openembedded.org git at git.openembedded.org
Tue Nov 6 12:17:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit bb06900a1f29fdd4066f6d7e7a961d230c2e9438
Author: Alexey Brodkin <alexey.brodkin at synopsys.com>
AuthorDate: Wed Oct 31 21:54:23 2018 +0300

    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.
    
    Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
    Cc: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/perf/perf.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index af09904..bae4948 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -26,6 +26,10 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
 PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
 PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
 
+# libunwind is not yet ported for some architectures
+PACKAGECONFIG_remove_arc = "libunwind"
+PACKAGECONFIG_remove_riscv64 = "libunwind"
+
 DEPENDS = " \
     virtual/${MLPREFIX}libc \
     ${MLPREFIX}elfutils \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list