summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSagaert Johan <sagaert.johan@skynet.be>2012-10-27 09:22:09 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-10-27 21:23:14 (GMT)
commit7195019be4d138bc457f23fb2ce472ba9817dd86 (patch)
tree92c0775362c83951557904e8ce9442ed35668911
parent092457dd3bc598f0920bddf79a62a39b2f13c4cd (diff)
downloadbuildroot-7195019be4d138bc457f23fb2ce472ba9817dd86.tar.gz
buildroot-7195019be4d138bc457f23fb2ce472ba9817dd86.tar.bz2
binutils version 2.23 is only available is .gz format
binutils version 2.23 is only available in .gz format, the older versions are in .bz2 format. Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> 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 d41cac4..e1aac9b 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -16,7 +16,12 @@ BINUTILS_VERSION = 2.21
endif
endif
+ifeq ($(BINUTILS_VERSION),2.23)
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+else
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
+endif
+
BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils
ifeq ($(ARCH),avr32)
BINUTILS_SITE = ftp://www.at91.com/pub/buildroot