diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2023-12-13 09:56:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-16 13:05:42 +0000 |
commit | 6ce61b435705d5e145bc6110f38f76a8a4697d2e (patch) | |
tree | 00758ff450c2549a15f0f08122c47ca42dfe248a /meta/recipes-devtools | |
parent | a02138ad48a9a5b1aea18d0e8fcf067de46c608a (diff) | |
download | poky-6ce61b435705d5e145bc6110f38f76a8a4697d2e.tar.gz |
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 <yoann.congal@smile.fr>
Suggested-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/strace/strace_6.6.bb | 6 |
1 files changed, 2 insertions, 4 deletions
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 | |||
22 | # Not yet ported to rv32 | 22 | # Not yet ported to rv32 |
23 | COMPATIBLE_HOST:riscv32 = "null" | 23 | COMPATIBLE_HOST:riscv32 = "null" |
24 | 24 | ||
25 | PACKAGECONFIG:class-target ??= "\ | 25 | # bluez is not enabled by default due to build dependency creep in smaller builds |
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 26 | # like core-image-minimal leading to significantly more tasks being executed |
27 | " | ||
28 | |||
29 | PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5" | 27 | PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5" |
30 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" | 28 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" |
31 | 29 | ||