diff options
-rw-r--r-- | kconfig/gdb.kconfig | 15 | ||||
-rw-r--r-- | mk/gdb.mk | 2 |
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 @@ -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 |