Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gdb-cross: remove duplicated PACKAGECONFIG
@ 2025-02-10 15:49 ecordonnier
  2025-02-10 16:21 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: ecordonnier @ 2025-02-10 15:49 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

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(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 399f4bba97a..4f16deabe3e 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -5,7 +5,6 @@ DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-
 inherit python3native pkgconfig
 
 # Overrides PACKAGECONFIG variables in gdb-common.inc
-PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
 PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
 PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
 PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread
[parent not found: <1822E38F637F1A4A.703@lists.openembedded.org>]

end of thread, other threads:[~2025-02-10 18:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 15:49 [PATCH] gdb-cross: remove duplicated PACKAGECONFIG ecordonnier
2025-02-10 16:21 ` [OE-core] " Richard Purdie
2025-02-10 17:30   ` Khem Raj
2025-02-10 18:20     ` Etienne Cordonnier
     [not found] <1822E38F637F1A4A.703@lists.openembedded.org>
2025-02-10 15:57 ` Etienne Cordonnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox