summaryrefslogtreecommitdiff
path: root/toolchain/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile.inc9
-rw-r--r--toolchain/binutils/patches/2.21/binutils-avr32.patch (renamed from toolchain/binutils/patches/binutils-avr32.patch)0
2 files changed, 8 insertions, 1 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index f4cb608e7..4448a7b51 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -2,8 +2,15 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= binutils
+
+ifeq ($(ADK_LINUX_AVR32),y)
PKG_VERSION:= 2.21
-PKG_RELEASE:= 1
PKG_MD5SUM:= c84c5acc9d266f1a7044b51c85a823f5
+else
+PKG_VERSION:= 2.22
+PKG_MD5SUM:= ee0f10756c84979622b992a4a61ea3f5
+endif
+
+PKG_RELEASE:= 1
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/toolchain/binutils/patches/binutils-avr32.patch b/toolchain/binutils/patches/2.21/binutils-avr32.patch
index d4ea74e04..d4ea74e04 100644
--- a/toolchain/binutils/patches/binutils-avr32.patch
+++ b/toolchain/binutils/patches/2.21/binutils-avr32.patch