From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Yoann Congal <yoann.congal@smile.fr>,
openembedded-core@lists.openembedded.org
Cc: Tim Orling <ticotimo@gmail.com>,
Martin Jansa <martin.jansa@gmail.com>,
Ross Burton <ross.burton@arm.com>
Subject: Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default
Date: Thu, 14 Dec 2023 13:23:16 +0000 [thread overview]
Message-ID: <2a45421d4e4cbcf17df57df128af58346e576fed.camel@linuxfoundation.org> (raw)
In-Reply-To: <20231213085657.2552223-1-yoann.congal@smile.fr>
On Wed, 2023-12-13 at 09:56 +0100, Yoann Congal wrote:
> 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"
Thanks. I've tweaked the version I queued in master-next to leave a
comment in the recipe about why we've done this so someone in a few
years time understands.
Cheers,
Richard
prev parent reply other threads:[~2023-12-14 13:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a45421d4e4cbcf17df57df128af58346e576fed.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@arm.com \
--cc=ticotimo@gmail.com \
--cc=yoann.congal@smile.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.