summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/gdb/gdb-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/gdb/gdb-common.inc')
-rw-r--r--poky/meta/recipes-devtools/gdb/gdb-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/meta/recipes-devtools/gdb/gdb-common.inc b/poky/meta/recipes-devtools/gdb/gdb-common.inc
index 6e0455203..a2a6364da 100644
--- a/poky/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/poky/meta/recipes-devtools/gdb/gdb-common.inc
@@ -29,7 +29,7 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
--disable-gprof \
"
-PACKAGECONFIG ??= "readline"
+PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
# Use --without-system-readline to compile with readline 5.
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs"