summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorDan Callaghan <dan.callaghan@opengear.com>2020-01-21 11:24:12 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-13 14:32:00 +0000
commit403851d3444c60ec3eb549d7b47951ed1bf1e57e (patch)
tree0303cfd68287cfe32631b4896452aaa20d15acc2 /meta/recipes-devtools
parent35a939b7bae5c1ec683ef2a5c2f56a136ae34950 (diff)
downloadpoky-403851d3444c60ec3eb549d7b47951ed1bf1e57e.tar.gz
gdb: add PACKAGECONFIG for xz (lzma) compression support
Similar to elfutils, when xz support is built into gdb it will be able to read xz-compressed ELF sections containing debuginfo. This is used by the "mini debuginfo" format: https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html (From OE-Core rev: b7e2f53745977f3f4a472f352e318b4bea8b20f9) Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 46a793595d..bfb8013d67 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -19,7 +19,7 @@ EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
19 19
20EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \ 20EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
21 --with-curses --disable-multilib --disable-sim \ 21 --with-curses --disable-multilib --disable-sim \
22 --without-lzma --without-guile \ 22 --without-guile \
23 ${GDBPROPREFIX} ${EXPAT} \ 23 ${GDBPROPREFIX} ${EXPAT} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ 24 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
25 --disable-rpath \ 25 --disable-rpath \
@@ -35,6 +35,7 @@ PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python
35PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" 35PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
36# ncurses is already a hard DEPENDS, but would be added here if it weren't 36# ncurses is already a hard DEPENDS, but would be added here if it weren't
37PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" 37PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
38PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
38 39
39GDBPROPREFIX = "--program-prefix=''" 40GDBPROPREFIX = "--program-prefix=''"
40 41