Commit a484a6ca authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Peter Korsgaard
Browse files

ARC: bump tools to 2014.08 release

Now when new shiny tools are released by Synopsys we're ready for version
update in Buildroot.

Important change in this release is switching to combined "binutils-gdb" repo
in accordance to upstream move.

Following patch now is a part of the most recent relese:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/e6ab8cac627a44a7594aeb907a579d8d2f066ba5



So dropping it.
package/binutils/arc-4.8-R3/0001-arc-Honor-DESTDIR-in-custom-Makefile.patch

Since arc-2014.08 tools are still based on GCC 4.8 following patch is still
relevant so moving to the new folder to matxh ARC gcc bump.
package/gcc/arc-4.8-R3/100-libstdcxx-uclibc-c99.patch ->
package/gcc/arc-2014.08/100-libstdcxx-uclibc-c99.patch

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>

Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 3ca5f0b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ endchoice
config BR2_BINUTILS_VERSION
	string
	default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
	default "arc-4.8-R3"	if BR2_arc
	default "arc-2014.08"	if BR2_arc
	default "2.22"		if BR2_BINUTILS_VERSION_2_22
	default "2.23.2"	if BR2_BINUTILS_VERSION_2_23_2
	default "2.24"		if BR2_BINUTILS_VERSION_2_24
+0 −47
Original line number Diff line number Diff line
From e2b7b635c28915d59cb3c1b47f8e79401e1e6c46 Mon Sep 17 00:00:00 2001
From: Anton Kolesov <Anton.Kolesov@synopsys.com>
Date: Fri, 6 Jun 2014 12:58:45 +0400
Subject: [PATCH] arc: Honor DESTDIR in custom Makefile

Installing native binutils in Buildroot faile, because `prefix` is /usr, and
proper installation path on host is achieved via usage of DESTDIR variable.
Homegrown ARC Makefile was ignoring this variable and therefour it was
trying to install files into /usr/extlib, when doing native binutils build.
This patch teaches our Makefile to honor DESTDIR.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
---
 gas/ChangeLog.ARC             | 4 ++++
 gas/config/extlib/Makefile.in | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog.ARC b/gas/ChangeLog.ARC
index 42a386f..80aedb5 100644
--- a/gas/ChangeLog.ARC
+++ b/gas/ChangeLog.ARC
@@ -1,3 +1,7 @@
+2014-06-06 Anton Kolesov  <Anton Kolesov@synopsys.com>
+
+	* config/extlib/Makefile.in: Honor DESTDIR.
+
 2014-03-20 Claudiu Zissulescu <claziss@synopsys.com>
 
         * config/tc-arc.c (arc_extoper): Allow negative value when
diff --git a/gas/config/extlib/Makefile.in b/gas/config/extlib/Makefile.in
index 75e6a82..35232ea 100644
--- a/gas/config/extlib/Makefile.in
+++ b/gas/config/extlib/Makefile.in
@@ -1,8 +1,8 @@
 all:
 	-install @srcdir@/*.s .
 install:
-	install -d @prefix@/extlib
-	install @srcdir@/*.s @prefix@/extlib
+	install -d $(DESTDIR)@prefix@/extlib
+	install @srcdir@/*.s $(DESTDIR)@prefix@/extlib
 
 check:
 clean:
-- 
1.8.4.1
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ ifeq ($(ARCH),avr32)
BINUTILS_SITE = ftp://www.at91.com/pub/buildroot
endif
ifeq ($(BR2_arc),y)
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
BINUTILS_FROM_GIT = y
endif
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ config BR2_GCC_VERSION
	default "4.7.4"     if BR2_GCC_VERSION_4_7_X
	default "4.8.3"     if BR2_GCC_VERSION_4_8_X
	default "4.9.1"     if BR2_GCC_VERSION_4_9_X
	default "arc-4.8-R3" if BR2_GCC_VERSION_4_8_ARC
	default "arc-2014.08" if BR2_GCC_VERSION_4_8_ARC
	default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP

config BR2_EXTRA_GCC_CONFIG_OPTIONS
Loading