From 6ce61b435705d5e145bc6110f38f76a8a4697d2e Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Wed, 13 Dec 2023 09:56:58 +0100 Subject: strace: Disable bluetooth support by default 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] [RP: Tweaked to put a message about the change in the recipe] (From OE-Core rev: 5dbfeea1c90c4dab9291d27da5a7ed1706e2ac2e) Signed-off-by: Yoann Congal Suggested-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/strace/strace_6.6.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/strace/strace_6.6.bb b/meta/recipes-devtools/strace/strace_6.6.bb index a3de7941cf..ed3033c867 100644 --- a/meta/recipes-devtools/strace/strace_6.6.bb +++ b/meta/recipes-devtools/strace/strace_6.6.bb @@ -22,10 +22,8 @@ inherit autotools ptest # Not yet ported to rv32 COMPATIBLE_HOST:riscv32 = "null" -PACKAGECONFIG:class-target ??= "\ - ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ -" - +# bluez is not enabled by default due to build dependency creep in smaller builds +# like core-image-minimal leading to significantly more tasks being executed PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5" PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" -- cgit v1.2.3-54-g00ecf