diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index ebe329f6d3..f8a113da8f 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc | |||
@@ -5,9 +5,10 @@ DEPENDS = "expat-native ncurses-native flex-native bison-native" | |||
5 | inherit python3native | 5 | inherit python3native |
6 | 6 | ||
7 | # Overrides PACKAGECONFIG variables in gdb-common.inc | 7 | # Overrides PACKAGECONFIG variables in gdb-common.inc |
8 | PACKAGECONFIG ??= "python readline" | 8 | PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" |
9 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" | 9 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" |
10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" | 10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" |
11 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native" | ||
11 | 12 | ||
12 | do_compile_prepend() { | 13 | do_compile_prepend() { |
13 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" | 14 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" |