summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-14 10:49:13 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-14 10:49:13 -0600
commitf219dad314e8aa6cde751569027603948a73c823 (patch)
tree2c71158dacc3be3d06968d9cb97f09581ed6d77d /toolchain
parentfefe22da62eab0fcb5eccde2a0d189d3b8f21cf2 (diff)
add support for old avr32 gdb
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Makefile2
-rw-r--r--toolchain/gdb/Makefile.inc11
2 files changed, 12 insertions, 1 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index f80a3359e..23f206ee7 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -40,7 +40,7 @@ ELF2FLT:=elf2flt-install
endif
# disable gdb for arc and avr32
-ifeq ($(ADK_TARGET_ARCH_ARC)$(ADK_TARGET_ARCH_AVR32),)
+ifeq ($(ADK_TARGET_ARCH_ARC),)
TARGETS+=gdb
GDB:=gdb-install
endif
diff --git a/toolchain/gdb/Makefile.inc b/toolchain/gdb/Makefile.inc
index edfec2cd8..cd41f2f1f 100644
--- a/toolchain/gdb/Makefile.inc
+++ b/toolchain/gdb/Makefile.inc
@@ -2,7 +2,18 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= gdb
+ifeq ($(ADK_TOOLCHAIN_GDB_7_8_2),y)
PKG_VERSION:= 7.8.2
PKG_RELEASE:= 1
PKG_HASH:= 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485
PKG_SITES:= ${MASTER_SITE_GNU:=gdb/}
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
+ifeq ($(ADK_TOOLCHAIN_GDB_6_7_1),y)
+PKG_VERSION:= 6.7.1
+PKG_RELEASE:= 1
+PKG_HASH:= d763a458c88d4718aa19060d003de4e884f4ac87a9e88d2d35e776b53eeca2f4
+PKG_SITES:= http://distribute.atmel.no/tools/avr32/old/avr32gnutoolchain/v2.4.2/source/
+DISTFILES:= avr32-gdb-6.7.1.atmel.1.0.4.tar.gz
+WRKDIST= $(WRKDIR)/gdb-6.7.1.atmel.1.0.4
+endif