summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-19 06:46:28 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-05-19 06:46:28 (GMT)
commite4fba5865b19163108fbd78ffe037e069ce8c802 (patch)
tree5ae6b796530895763afde6adf56dccf7cca1e98a
parentb07ad40c1dc78e61dd71d264b1b30aabfa1033dc (diff)
downloadbuildroot-e4fba5865b19163108fbd78ffe037e069ce8c802.tar.gz
buildroot-e4fba5865b19163108fbd78ffe037e069ce8c802.tar.bz2
binutils: fix build with external toolchains on avr32
Fixes http://autobuild.buildroot.org/results/7f0545a7c824bf0523ab3506db83f7f5c930d63d/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/binutils/binutils.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 0a5a948..1c8a79d 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -8,8 +8,13 @@
# If not, we do like other packages
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
ifeq ($(BINUTILS_VERSION),)
+ifeq ($(BR2_avr32),y)
+# avr32 uses a special version
+BINUTILS_VERSION = 2.18-avr32-1.0.1
+else
BINUTILS_VERSION = 2.21
endif
+endif
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils