From: Trevor Woerner Date: Thu, 6 Sep 2018 13:55:33 +0000 (-0400) Subject: gdb: PACKAGECONFIG for tui X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16711 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4dd830e3407e1ebfbb13387fa359e356fd12ab9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gdb: PACKAGECONFIG for tui Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG. Signed-off-by: Trevor Woerner Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index 05bda5a7f55..fa64939f268 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'" EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" -EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ +EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \ --with-curses --disable-multilib --disable-sim \ --without-lzma --without-guile \ ${GDBPROPREFIX} ${EXPAT} \ @@ -36,6 +36,8 @@ PACKAGECONFIG ??= "readline" PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" +# ncurses is already a hard DEPENDS, but would be added here if it weren't +PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" GDBPROPREFIX = "--program-prefix=''"