gdb: enable xz in gdb-cross and gdb-cross-canadian
PATCH v2 1/1 gdb: enable xz in gdb-cross and gdb-cross-canadian
From: Etienne Cordonnier <[email protected]>
- Keep a single base-value of the PACKAGECONFIG variable in gdb-common.inc for easier maintenance.
- Enable xz (needed by minidebuginfo) unconditionally in gdb-cross and gdb-cross-canadian since those are typically not used in minimal systems, but rather e.g. on an X86 desktop, and xz is not a huge dependency. It is also nice to not need to recompile gdb-cross when switching between a DISTRO where minidebuginfo is disabled, and one where minidebuginfo is enabled.
Signed-off-by Etienne Cordonnier <[email protected]>
--- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 2 +- meta/recipes-devtools/gdb/gdb-cross.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/gdb/gdb-cross-canadian.inc +1 -1
@@ -12,7 +12,7 @@ DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nat GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" # Overrides PACKAGECONFIG variables in gdb-common.inc -PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" +PACKAGECONFIG:append = " xz" PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ nativesdk-python3-core \ nativesdk-python3-codecs nativesdk-python3-netclient \
meta/recipes-devtools/gdb/gdb-cross.inc +1 -1
@@ -5,7 +5,7 @@ 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:append = " xz" 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"
Signature · 1 line
2.43.0