summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-15 22:50:06 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-09-16 22:22:13 +0200
commitc5579a0ea19e2290a59b301f5d320d3a1d07dcea (patch)
treea58327891298358aa7e7f65e3f55eafd33628afa
parent5d82540353d63980298623f32f3e6752ab324432 (diff)
downloadbuildroot-c5579a0ea19e2290a59b301f5d320d3a1d07dcea.tar.gz
buildroot-c5579a0ea19e2290a59b301f5d320d3a1d07dcea.zip
gdb: needs host-ncurses on the host
Commit 2474fb0bf1a786f3a170631f3dbce8b38092f986 ("host-gdb: enable terminal user interface support") has added TUI support to host gdb, and therefore added a dependency on host-ncurses when TUI support is enabled. However, host-ncurses is not only needed for TUI support, it is needed for gdb in all cases as well, so this commit adds a dependency of host-gdb to host-ncurses. Fixes: http://autobuild.buildroot.org/results/153/153dbdc42103074f7a0895e8871e2eee4eae3325/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gdb/gdb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 07f6ba3936..41d3689c83 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -40,8 +40,9 @@ GDB_DEPENDENCIES = ncurses
endif
# For the host variant, we really want to build with XML support,
-# which is needed to read XML descriptions of target architectures.
-HOST_GDB_DEPENDENCIES = host-expat
+# which is needed to read XML descriptions of target architectures. We
+# also need ncurses.
+HOST_GDB_DEPENDENCIES = host-expat host-ncurses
# Apply the Xtensa specific patches
XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))
@@ -127,7 +128,6 @@ HOST_GDB_CONF_OPT = \
--disable-sim
ifeq ($(BR2_PACKAGE_HOST_GDB_TUI),y)
- HOST_GDB_DEPENDENCIES += host-ncurses
HOST_GDB_CONF_OPT += --enable-tui
else
HOST_GDB_CONF_OPT += --disable-tui
OpenPOWER on IntegriCloud