summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-01-30 00:53:56 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-01-30 00:53:56 +0100
commitd7e9ac3ffd87801f29129802ea789dc6f5f1637e (patch)
tree7ba2c7ecc82364c2ee1de1818e6406d4df85e20c
parentb7ad31a628317b07894bfd8ce44c98e72416c056 (diff)
downloadembtoolkit-d7e9ac3ffd87801f29129802ea789dc6f5f1637e.tar.gz
embtoolkit-d7e9ac3ffd87801f29129802ea789dc6f5f1637e.tar.bz2
embtoolkit-d7e9ac3ffd87801f29129802ea789dc6f5f1637e.tar.xz
Toolchain: gdb: use ncurses as dependency instead of termcap
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--kconfig/gdb.kconfig3
-rw-r--r--mk/gdb.mk13
2 files changed, 9 insertions, 7 deletions
diff --git a/kconfig/gdb.kconfig b/kconfig/gdb.kconfig
index 322da67..ec08770 100644
--- a/kconfig/gdb.kconfig
+++ b/kconfig/gdb.kconfig
@@ -1,6 +1,6 @@
################################################################################
# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# Copyright(C) 2009-2010 GAYE Abdoulaye Walsimou. All rights reserved.
#
# This program is free software; you can distribute it and/or modify it
# under the terms of the GNU General Public License
@@ -24,6 +24,7 @@
config EMBTK_HAVE_GDB
bool "Have GDB: Gnu debugging system"
+ select EMBTK_HAVE_NCURSES
help
Have GNU debugger components on your embedded target and/or on your
development machine.
diff --git a/mk/gdb.mk b/mk/gdb.mk
index 0bbb98d..7386223 100644
--- a/mk/gdb.mk
+++ b/mk/gdb.mk
@@ -1,6 +1,6 @@
################################################################################
# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# Copyright(C) 2009-2010 GAYE Abdoulaye Walsimou. All rights reserved.
#
# This program is free software; you can distribute it and/or modify it
# under the terms of the GNU General Public License
@@ -34,12 +34,13 @@ gdb_target_install: $(GDB_TARGET_BUILD_DIR)/.installed
gdbserver_target_install: $(GDBSERVER_TARGET_BUILD_DIR)/.installed
#gdb for target
-$(GDB_TARGET_BUILD_DIR)/.installed: termcap_target_install download_gdb \
-decompress_gdb $(GDB_TARGET_BUILD_DIR)/.configured
- cd $(GDB_TARGET_BUILD_DIR); make $(J); make install
+$(GDB_TARGET_BUILD_DIR)/.installed: ncurses_install download_gdb \
+ decompress_gdb $(GDB_TARGET_BUILD_DIR)/.configured
+ $(Q)$(MAKE) -C $(GDB_TARGET_BUILD_DIR) $(J)
+ $(Q)$(MAKE) -C $(GDB_TARGET_BUILD_DIR) install
-$(GDBSERVER_TARGET_BUILD_DIR)/.installed: termcap_target_install download_gdb \
-decompress_gdb $(GDB_TARGET_BUILD_DIR)/.configured
+$(GDBSERVER_TARGET_BUILD_DIR)/.installed: ncurses_install download_gdb \
+ decompress_gdb $(GDB_TARGET_BUILD_DIR)/.configured
cd $(GDB_TARGET_BUILD_DIR); make; cd gdb/gdbserver; make install
@touch $@