Patchwork [1/1] binutils version 2.23 is only available is .gz format

login
register
mail settings
Submitter Sagaert Johan
Date Oct. 27, 2012, 7:22 p.m.
Message ID <1351365729-17914-1-git-send-email-sagaert.johan@skynet.be>
Download mbox | patch
Permalink /patch/194632/
State Accepted
Commit 7195019be4d138bc457f23fb2ce472ba9817dd86
Headers show

Comments

Sagaert Johan - Oct. 27, 2012, 7:22 p.m.
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>
---
 package/binutils/binutils.mk | 5 +++++
 1 file changed, 5 insertions(+)
Peter Korsgaard - Oct. 27, 2012, 9:25 p.m.
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> binutils version 2.23 is only available in .gz format, the
 Sagaert> older versions are in .bz2 format.

Committed, thanks.

Patch

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