From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: ecordonnier@snap.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] gdb-cross: remove duplicated PACKAGECONFIG
Date: Mon, 10 Feb 2025 16:21:39 +0000 [thread overview]
Message-ID: <1745112bfecddf072b229f0c0b26fcb3d96fc053.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250210154958.1119250-1-ecordonnier@snap.com>
On Mon, 2025-02-10 at 16:49 +0100, Etienne Cordonnier via lists.openembedded.org wrote:
> From: Etienne Cordonnier <ecordonnier@snap.com>
>
> Duplicating the PACKAGECONFIG variable in gdb-cross and gdb-common makes
> it easy to forget updating one definition without updating the other.
> However at the moment there is no need for two different definitions.
>
> xz is also useful for gdb-cross when minidebuginfo is enabled, so it also needs
> to be in the definition of PACKAGECONFIG in gdb-cross.inc
>
> Let's remove the definition from gdb-cross.inc to make maintenance easier.
> This enables xz for gdb-cross as side-effect.
>
> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> ---
> meta/recipes-devtools/gdb/gdb-cross.inc | 1 -
> 1 file changed, 1 deletion(-)
At the very least this commit message needs to be a bit clearer as
there is a change of behaviour here.
To be clear, this change adds:
${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'xz', '', d)}
to the default PACKAGECONFIG for gdb-cross. You can't tell that from
the patch.
I'd also mention that there is still a different definition for gdb-
cross-canadian and if we do this, they should all probably match.
Whether we should do this, I'm unsure. It might be worth just adding xz
unconditionally at this point by default to be honest, it isn't a huge
dependency. gdb is a debugging tool, not for a minimal system.
Cheers,
Richard
next prev parent reply other threads:[~2025-02-10 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-10 15:49 [PATCH] gdb-cross: remove duplicated PACKAGECONFIG ecordonnier
2025-02-10 16:21 ` Richard Purdie [this message]
2025-02-10 17:30 ` [OE-core] " Khem Raj
2025-02-10 18:20 ` Etienne Cordonnier
[not found] <1822E38F637F1A4A.703@lists.openembedded.org>
2025-02-10 15:57 ` Etienne Cordonnier
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=1745112bfecddf072b229f0c0b26fcb3d96fc053.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ecordonnier@snap.com \
--cc=openembedded-core@lists.openembedded.org \
/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.