]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
perf: Add packageconfig for libbfd support and use disabled as default
authorKhem Raj <raj.khem@gmail.com>
Mon, 15 Aug 2022 03:48:46 +0000 (20:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Aug 2022 13:55:47 +0000 (14:55 +0100)
Disable it by default, libbfd changes with binutils major releases and
sometimes it creates a dependency to fix it. See [1]

This will help building with binutils 2.39

[1] https://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com/T/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb

index 95b4362958bd297c8c63ad467df39b67a17e73b8..9f7c300a40e8f01fc41928e692beb332ec29bc96 100644 (file)
@@ -20,6 +20,7 @@ PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3"
 PACKAGECONFIG[tui] = ",NO_NEWT=1,libnewt slang"
 PACKAGECONFIG[libunwind] = ",NO_LIBUNWIND=1 NO_LIBDW_DWARF_UNWIND=1,libunwind"
 PACKAGECONFIG[libnuma] = ",NO_LIBNUMA=1"
+PACKAGECONFIG[bfd] = ",NO_LIBBFD=1"
 PACKAGECONFIG[systemtap] = ",NO_SDT=1,systemtap"
 PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
 # libaudit support would need scripting to be enabled