binutils version 2.23 is only available is .gz format
authorSagaert Johan <sagaert.johan@skynet.be>
Sat, 27 Oct 2012 09:22:09 +0000 (09:22 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 27 Oct 2012 21:23:14 +0000 (23:23 +0200)
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>
package/binutils/binutils.mk

index d41cac4e9c0938a3958837b081625c86ce9c84c0..e1aac9bb13c617e7eaa72371f52021f320a5744c 100644 (file)
@@ -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