diff options
author | Trevor Woerner <trevor@toganlabs.com> | 2018-09-06 09:55:33 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-11 09:05:35 +0100 |
commit | 31a55b573484557925563a09ee08084d37180ff1 (patch) | |
tree | 1f2ad5166ab70cb585d6af26ca40b143f234beb1 | |
parent | f148288ca3d8b8f3e12adbf84ae7874d9b3c4796 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 4 |
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 | ||
21 | EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" | 21 | EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" |
22 | 22 | ||
23 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ | 23 | EXTRA_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" | |||
36 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" | 36 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" |
37 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" | 37 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" |
38 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | 38 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" |
39 | # ncurses is already a hard DEPENDS, but would be added here if it weren't | ||
40 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" | ||
39 | 41 | ||
40 | GDBPROPREFIX = "--program-prefix=''" | 42 | GDBPROPREFIX = "--program-prefix=''" |
41 | 43 | ||