diff options
author | Dan Callaghan <dan.callaghan@opengear.com> | 2020-01-21 11:24:12 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-13 14:32:00 +0000 |
commit | 403851d3444c60ec3eb549d7b47951ed1bf1e57e (patch) | |
tree | 0303cfd68287cfe32631b4896452aaa20d15acc2 /meta/recipes-devtools | |
parent | 35a939b7bae5c1ec683ef2a5c2f56a136ae34950 (diff) | |
download | poky-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.inc | 3 |
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 | ||
20 | EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \ | 20 | EXTRA_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 | |||
35 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | 35 | PACKAGECONFIG[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 |
37 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" | 37 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" |
38 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" | ||
38 | 39 | ||
39 | GDBPROPREFIX = "--program-prefix=''" | 40 | GDBPROPREFIX = "--program-prefix=''" |
40 | 41 | ||