summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-11-22 01:17:23 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-11-22 01:17:23 +0100
commitfdf0da83f8ad00968944bf187180fe7a7efcbbec (patch)
treea5630133c7d70a4c7322a83bb06c0f31b7d256d9
parent0cb031811665ba9d34d03f35e3ce2e99866ca896 (diff)
downloadembtoolkit-fdf0da83f8ad00968944bf187180fe7a7efcbbec.tar.gz
embtoolkit-fdf0da83f8ad00968944bf187180fe7a7efcbbec.tar.bz2
embtoolkit-fdf0da83f8ad00968944bf187180fe7a7efcbbec.tar.xz
Toolchain: gdb: add build of gdb-7.0
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--kconfig/gdb.kconfig15
-rw-r--r--mk/gdb.mk2
2 files changed, 16 insertions, 1 deletions
diff --git a/kconfig/gdb.kconfig b/kconfig/gdb.kconfig
index 4b04ebe..af9423c 100644
--- a/kconfig/gdb.kconfig
+++ b/kconfig/gdb.kconfig
@@ -29,6 +29,21 @@ config EMBTK_HAVE_GDB
development machine.
choice
+ prompt "GDB version to use"
+ depends on EMBTK_HAVE_GDB
+ config EMBTK_GDB_VERSION_7_0
+ depends on !EMBTK_CLIB_UCLIBC
+ bool "gdb-7.0"
+ config EMBTK_GDB_VERSION_6_8
+ bool "gdb-6.8"
+endchoice
+
+config EMBTK_GDB_VERSION_STRING
+ string
+ default "6.8" if EMBTK_GDB_VERSION_6_8
+ default "7.0" if EMBTK_GDB_VERSION_7_0
+
+choice
prompt "GDB on your target embedded system"
depends on EMBTK_HAVE_GDB
depends on EMBTK_HAVE_ROOTFS
diff --git a/mk/gdb.mk b/mk/gdb.mk
index 630bb7b..0bbb98d 100644
--- a/mk/gdb.mk
+++ b/mk/gdb.mk
@@ -22,7 +22,7 @@
# \date July 2009
################################################################################
-GDB_VERSION := 6.8
+GDB_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_GDB_VERSION_STRING)))
GDB_SITE := http://ftp.gnu.org/gnu/gdb
GDB_PACKAGE := gdb-$(GDB_VERSION).tar.bz2
GDB_HOST_BUILD_DIR :=$(TOOLS_BUILD)/gdb