diff options
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross.inc | 4 |
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 | ||
33 | PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python \ | 33 | PACKAGECONFIG ??= "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. |
37 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" | 35 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" |
38 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs" | 36 | PACKAGECONFIG[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 | |||
12 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 12 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
13 | 13 | ||
14 | # Overrides PACKAGECONFIG variables in gdb-common.inc | 14 | # Overrides PACKAGECONFIG variables in gdb-common.inc |
15 | PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" | ||
16 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ | 15 | PACKAGECONFIG[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 | " | ||
20 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" | ||
21 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, nativesdk-elfutils" | ||
22 | 18 | ||
23 | SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb" | 19 | SSTATE_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 | ||
5 | inherit python3native pkgconfig | 5 | inherit python3native pkgconfig |
6 | 6 | ||
7 | # Overrides PACKAGECONFIG variables in gdb-common.inc | ||
8 | PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" | ||
9 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" | 7 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" |
10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" | ||
11 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native" | ||
12 | 8 | ||
13 | do_compile:prepend() { | 9 | do_compile:prepend() { |
14 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" | 10 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" |