From: Alexey Brodkin Date: Wed, 31 Oct 2018 18:54:23 +0000 (+0300) Subject: perf: Disable libunwind for ARC & RISCV64 X-Git-Tag: 2018-10.4-thud~472 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bb06900a1f29fdd4066f6d7e7a961d230c2e9438;p=openembedded-core.git 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 Cc: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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" 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 \