summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc4
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc6
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc4
3 files changed, 2 insertions, 12 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index ea1fc27a61..c0312f0f05 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -30,9 +30,7 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
30 --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \ 30 --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \
31" 31"
32 32
33PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python \ 33PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python xz"
34 ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'xz', '', d)} \
35 "
36# Use --without-system-readline to compile with readline 5. 34# Use --without-system-readline to compile with readline 5.
37PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" 35PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
38PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs" 36PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 9150c196a8..7b4a7719e4 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -12,13 +12,9 @@ DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nat
12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" 12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
13 13
14# Overrides PACKAGECONFIG variables in gdb-common.inc 14# Overrides PACKAGECONFIG variables in gdb-common.inc
15PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
16PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ 15PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
17 nativesdk-python3-core \ 16 nativesdk-python3-core \
18 nativesdk-python3-codecs nativesdk-python3-netclient \ 17 nativesdk-python3-codecs nativesdk-python3-netclient"
19 "
20PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
21PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, nativesdk-elfutils"
22 18
23SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb" 19SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb"
24 20
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 399f4bba97..110a536db7 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -4,11 +4,7 @@ DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-
4 4
5inherit python3native pkgconfig 5inherit python3native pkgconfig
6 6
7# Overrides PACKAGECONFIG variables in gdb-common.inc
8PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
9PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" 7PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
10PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
11PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native"
12 8
13do_compile:prepend() { 9do_compile:prepend() {
14 export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" 10 export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"