All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] strace: Disable bluetooth support by default
@ 2023-12-13  8:56 Yoann Congal
  2023-12-14  9:09 ` [OE-core] " Alexander Kanavin
  2023-12-14 13:23 ` Richard Purdie
  0 siblings, 2 replies; 18+ messages in thread
From: Yoann Congal @ 2023-12-13  8:56 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tim Orling, Martin Jansa, Yoann Congal, Ross Burton

The bluetooth support adds a bluez5 dependency (and,recursively, a lot
of other stuff). Disable it by default to avoid having to build all of
this when it is not needed.

This decrease the number of tasks run for a core-image-minimal build by
~1000 (-21%).

To re-enable bluetooth support in strace, add "bluez" to strace
PACKAGECONFIG. For example, in local.conf:
  PACKAGECONFIG:append:pn-strace = " bluez"

Fixes [YOCTO #15323]

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Suggested-by: Ross Burton <ross.burton@arm.com>
---
v1->v2:
* Fixed local.conf example (thanks Tim)
* Added Suggested-by: Ross (thanks Ross)
* Removed an extra empty line
v2->v3:
* Added missing leading space in local.conf suggestion (thanks Martin)
---
 meta/recipes-devtools/strace/strace_6.6.bb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_6.6.bb b/meta/recipes-devtools/strace/strace_6.6.bb
index a3de7941cf..eeffe477b3 100644
--- a/meta/recipes-devtools/strace/strace_6.6.bb
+++ b/meta/recipes-devtools/strace/strace_6.6.bb
@@ -22,10 +22,6 @@ inherit autotools ptest
 # Not yet ported to rv32
 COMPATIBLE_HOST:riscv32 = "null"
 
-PACKAGECONFIG:class-target ??= "\
-    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-"
-
 PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
 PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
 
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-12-15 12:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13  8:56 [PATCH v3] strace: Disable bluetooth support by default Yoann Congal
2023-12-14  9:09 ` [OE-core] " Alexander Kanavin
2023-12-14  9:50   ` Richard Purdie
2023-12-14 12:03     ` Alexander Kanavin
2023-12-14 12:11       ` Richard Purdie
2023-12-14 12:17         ` Alexander Kanavin
2023-12-14 12:30           ` Richard Purdie
2023-12-14 12:34             ` Alexander Kanavin
2023-12-14 12:37               ` Richard Purdie
2023-12-14 13:02                 ` Jose Quaresma
2023-12-14 18:29     ` Khem Raj
2023-12-14 18:53   ` Khem Raj
2023-12-14 19:33     ` Alexandre Belloni
2023-12-14 19:36       ` Khem Raj
2023-12-15 10:49         ` Yoann Congal
2023-12-15 11:59           ` Ross Burton
2023-12-15 12:24             ` Richard Purdie
2023-12-14 13:23 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.