perf: Add packageconfig for libbfd support and use disabled as default
PATCH 1/1 perf: Add packageconfig for libbfd support and use disabled as default
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/[email protected]/T/
Signed-off-by Khem Raj <[email protected]>
Cc Bruce Ashfield <[email protected]>
--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/perf/perf.bb +1 -0
@@ -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
Signature · 1 line
2.37.2
Quoted 5 lines · Khem Raj
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
Ack'd. The change is good with me.
I have linux-yocto changes for the new binutils, but this will help other kernels until they update.
Bruce
Quoted 24 lines
[1] https://lore.kernel.org/lkml/[email protected]/T/
Signed-off-by Khem Raj <[email protected]>Cc Bruce Ashfield <[email protected]>--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-kernel/perf/perf.bb +1
-1@@ -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 --2.37.2
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II