summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-03-30 15:05:02 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-03-30 15:05:02 (GMT)
commit8628082b83110acad71c27b79edd5f5345c405b0 (patch)
treeb66b79273789c823f1ad5bc0368cf4fb584f3527
parent8c19cfef377cc09bc3fd2c61f97b80847206f673 (diff)
downloadbuildroot-8628082b83110acad71c27b79edd5f5345c405b0.tar.gz
buildroot-8628082b83110acad71c27b79edd5f5345c405b0.tar.bz2
binutils: simplify BINUTILS_SITE selection
All versions are available on gnu.org. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/binutils/binutils.mk21
1 files changed, 2 insertions, 19 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index b02bcdf..3f48c18 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -6,27 +6,10 @@
BINUTILS_VERSION:=$(call qstrip,$(BR2_BINUTILS_VERSION))
EXTRA_BINUTILS_CONFIG_OPTIONS=$(call qstrip,$(BR2_EXTRA_BINUTILS_CONFIG_OPTIONS))
-BINUTILS_SITE:=$(BR2_KERNEL_MIRROR)/linux/devel/binutils
-ifeq ($(BINUTILS_VERSION),2.20.1)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
-ifeq ($(BINUTILS_VERSION),2.20)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
-ifeq ($(BINUTILS_VERSION),2.19.1)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
-ifeq ($(BINUTILS_VERSION),2.19)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
-ifeq ($(BINUTILS_VERSION),2.18)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
-ifeq ($(BINUTILS_VERSION),2.17)
-BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
-endif
ifeq ($(findstring avr32,$(BINUTILS_VERSION)),avr32)
BINUTILS_SITE:=ftp://www.at91.com/pub/buildroot/
+else
+BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
endif
# We do not rely on the host's gmp/mpfr but use a known working one