* [PATCH] perf: Add packageconfig for libbfd support and use disabled as default
@ 2022-08-15 3:48 Khem Raj
2022-08-15 12:36 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2022-08-15 3:48 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj, Bruce Ashfield
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>
---
meta/recipes-kernel/perf/perf.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 95b4362958b..9f7c300a40e 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] perf: Add packageconfig for libbfd support and use disabled as default
2022-08-15 3:48 [PATCH] perf: Add packageconfig for libbfd support and use disabled as default Khem Raj
@ 2022-08-15 12:36 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-08-15 12:36 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On Sun, Aug 14, 2022 at 11:48 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> 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
>
> [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>
> ---
> meta/recipes-kernel/perf/perf.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index 95b4362958b..9f7c300a40e 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -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
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-15 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15 3:48 [PATCH] perf: Add packageconfig for libbfd support and use disabled as default Khem Raj
2022-08-15 12:36 ` Bruce Ashfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox