From d7e9ac3ffd87801f29129802ea789dc6f5f1637e Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 30 Jan 2010 00:53:56 +0100 Subject: Toolchain: gdb: use ncurses as dependency instead of termcap Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/gdb.kconfig | 3 ++- mk/gdb.mk | 13 +++++++------ 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, -# 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, -# 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 $@ -- cgit v1.2.3