summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@artech.at>2023-09-18 14:15:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-20 08:57:27 +0100
commit73141505de3b9ecd924956d85559c088ad01994c (patch)
tree114141325ac850686e7c0504e8616d77615a7745
parent4cc851556693984b81bc3afa2ecb3678cfb70e9b (diff)
downloadpoky-73141505de3b9ecd924956d85559c088ad01994c.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: 5f17bc03a0c2d894e43c3c835fa38a24b1d5df64) Signed-off-by: Stefan Tauner <stefan.tauner@artech.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc3
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 12292f03c4..3349719a6b 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',
35PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" 35PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
36PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs" 36PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs"
37PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" 37PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
38# ncurses is already a hard DEPENDS, but would be added here if it weren't 38PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base"
39PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
40PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" 39PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
41PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" 40PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
42 41