From: Yoann Congal Date: Wed, 13 Dec 2023 08:56:58 +0000 (+0100) Subject: strace: Disable bluetooth support by default X-Git-Tag: uninative-4.4~746 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbfeea1c90c4dab9291d27da5a7ed1706e2ac2e;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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] Signed-off-by: Yoann Congal Suggested-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/strace/strace_6.6.bb b/meta/recipes-devtools/strace/strace_6.6.bb index a3de7941cf8..ed3033c8673 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"