From aef41d0c20351ddabc49dd6ac481b8e3cd66eef3 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 31 Jan 2024 19:58:10 -0700 Subject: meta-microblaze: gdb_12 disable python support gdb 12 python support requires 'distutils', which was removed in python 3.12. Disable until we can patch this or upgrade. Signed-off-by: Mark Hatle --- meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc | 2 +- meta-microblaze/recipes-devtools/gdb/gdb-cross.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc index 81dc572b..c463574b 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross-canadian.inc @@ -12,7 +12,7 @@ DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp \ GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" # Overrides PACKAGECONFIG variables in gdb-common.inc -PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" +PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ nativesdk-python3-core \ nativesdk-python3-codecs nativesdk-python3-netclient \ diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc b/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc index 9f9675c1..b418f3a3 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-cross.inc @@ -5,7 +5,7 @@ DEPENDS = "expat-native gmp-native ncurses-native flex-native bison-native" inherit python3native pkgconfig # Overrides PACKAGECONFIG variables in gdb-common.inc -PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" +PACKAGECONFIG ??= "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" -- cgit v1.2.3-54-g00ecf