summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorTrevor Woerner <trevor@toganlabs.com>2018-09-06 09:55:33 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-11 09:05:35 +0100
commit31a55b573484557925563a09ee08084d37180ff1 (patch)
tree1f2ad5166ab70cb585d6af26ca40b143f234beb1 /meta/recipes-devtools/gdb
parentf148288ca3d8b8f3e12adbf84ae7874d9b3c4796 (diff)
downloadpoky-31a55b573484557925563a09ee08084d37180ff1.tar.gz
gdb: PACKAGECONFIG for tui
Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG. (From OE-Core rev: b4dd830e3407e1ebfbb13387fa359e356fd12ab9) Signed-off-by: Trevor Woerner <trevor@toganlabs.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 05bda5a7f5..fa64939f26 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -20,7 +20,7 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
20 20
21EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" 21EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
22 22
23EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ 23EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
24 --with-curses --disable-multilib --disable-sim \ 24 --with-curses --disable-multilib --disable-sim \
25 --without-lzma --without-guile \ 25 --without-lzma --without-guile \
26 ${GDBPROPREFIX} ${EXPAT} \ 26 ${GDBPROPREFIX} ${EXPAT} \
@@ -36,6 +36,8 @@ PACKAGECONFIG ??= "readline"
36PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" 36PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
37PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" 37PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs"
38PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" 38PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
39# ncurses is already a hard DEPENDS, but would be added here if it weren't
40PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
39 41
40GDBPROPREFIX = "--program-prefix=''" 42GDBPROPREFIX = "--program-prefix=''"
41 43