diff options
author | Stefan Tauner <stefan.tauner@artech.at> | 2023-09-18 14:15:15 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:25:19 -1000 |
commit | 87dc91ac724997ae4494a5247e94b9aad10cce1a (patch) | |
tree | 99fa22e89cb9b1a54799ea4d11fa3f255418adc3 /meta | |
parent | 5bad01b1befe38ce3e3e4dbf851a799be9f1b087 (diff) | |
download | poky-87dc91ac724997ae4494a5247e94b9aad10cce1a.tar.gz |
gdb: fix RDEPENDS for PACKAGECONFIG[tui]
TUI mode needs terminfo at runtime, which is required to be
explicitly stated in the respective PACKAGECONFIG variable.
Without this change /etc/terminfo/ might be missing, which
leads to a runtime error when trying to use tui, e.g.:
(gdb) tui enable
Cannot enable the TUI: error opening terminal [TERM=xterm-256color]
(From OE-Core rev: 266944eb216912b7b2a935360aa51cd79847a071)
Signed-off-by: Stefan Tauner <stefan.tauner@artech.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f17bc03a0c2d894e43c3c835fa38a24b1d5df64)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index 925b0c2f80..0f392357fe 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc | |||
@@ -35,8 +35,7 @@ PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', | |||
35 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" | 35 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" |
36 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" | 36 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" |
37 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | 37 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" |
38 | # ncurses is already a hard DEPENDS, but would be added here if it weren't | 38 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" |
39 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" | ||
40 | PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" | 39 | PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" |
41 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" | 40 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" |
42 | 41 | ||