toolchain/arc: update to the most recent release arc-2017.03

arc-2017.03 is the most recent release toolchain for ARC cores
and it is based on upstream Binutils 2.28 and GCC 6.3.0

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@phrozen.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
owl
Evgeniy Didin 2017-07-12 18:00:31 +03:00 committed by Hauke Mehrtens
parent 6f133a4402
commit 8647f4f018
30 changed files with 27 additions and 27 deletions

View File

@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gdb-arc PKG_NAME:=gdb-arc
PKG_VERSION:=arc-2016.09-gdb PKG_VERSION:=arc-2017.03-gdb
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=gdb-arc-2016.09-gdb.tar.gz PKG_SOURCE:=gdb-arc-2017.03-gdb.tar.gz
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/$(PKG_VERSION) PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/$(PKG_VERSION)
PKG_HASH:=6a91f86cc487c1548d3f5d4f29f7226d2019c0db8a63633aeabd5914a340f3f9 PKG_HASH:=6a91f86cc487c1548d3f5d4f29f7226d2019c0db8a63633aeabd5914a340f3f9
PKG_BUILD_DIR:=$(BUILD_DIR)/binutils-gdb-arc-2016.09-gdb PKG_BUILD_DIR:=$(BUILD_DIR)/binutils-gdb-arc-2017.03-gdb
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1 PKG_INSTALL:=1

View File

@ -3,7 +3,7 @@
choice choice
prompt "Binutils Version" if TOOLCHAINOPTS prompt "Binutils Version" if TOOLCHAINOPTS
default BINUTILS_USE_VERSION_2_28 if !arc default BINUTILS_USE_VERSION_2_28 if !arc
default BINUTILS_USE_VERSION_2_27_ARC if arc default BINUTILS_USE_VERSION_2_28_ARC if arc
help help
Select the version of binutils you wish to use. Select the version of binutils you wish to use.
@ -17,10 +17,10 @@ choice
bool "Binutils 2.28" bool "Binutils 2.28"
select BINUTILS_VERSION_2_28 select BINUTILS_VERSION_2_28
config BINUTILS_USE_VERSION_2_27_ARC config BINUTILS_USE_VERSION_2_28_ARC
depends on arc depends on arc
bool "ARC binutils 2.27" bool "ARC binutils 2.28"
select BINUTILS_VERSION_2_27_ARC select BINUTILS_VERSION_2_28_ARC
endchoice endchoice

View File

@ -5,7 +5,7 @@ config BINUTILS_VERSION_2_28
default y if (!TOOLCHAINOPTS && !arc) default y if (!TOOLCHAINOPTS && !arc)
bool bool
config BINUTILS_VERSION_2_27_ARC config BINUTILS_VERSION_2_28_ARC
default y if (!TOOLCHAINOPTS && arc) default y if (!TOOLCHAINOPTS && arc)
bool bool
@ -13,4 +13,4 @@ config BINUTILS_VERSION
string string
default "2.27" if BINUTILS_VERSION_2_27 default "2.27" if BINUTILS_VERSION_2_27
default "2.28" if BINUTILS_VERSION_2_28 default "2.28" if BINUTILS_VERSION_2_28
default "arc-2016.09" if BINUTILS_VERSION_2_27_ARC default "arc-2017.03" if BINUTILS_VERSION_2_28_ARC

View File

@ -21,11 +21,11 @@ ifeq ($(PKG_VERSION),2.28)
PKG_HASH:=6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72 PKG_HASH:=6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72
endif endif
ifneq ($(CONFIG_BINUTILS_VERSION_2_27_ARC),) ifneq ($(CONFIG_BINUTILS_VERSION_2_28_ARC),)
PKG_REV:=arc-2016.09-release PKG_REV:=arc-2017.03-release
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/$(PKG_REV)/ PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/$(PKG_REV)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_REV).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_REV).tar.gz
PKG_HASH:=c6de8aedb7568406d784295476de9139a5e351e970e18b602e0037439b3a7b4b PKG_HASH:=f9c1e09ef10aaf9619181f49587f464ba0a70d29b7f6f879047140acac852409
BINUTILS_DIR:=$(PKG_NAME)-gdb-$(PKG_REV) BINUTILS_DIR:=$(PKG_NAME)-gdb-$(PKG_REV)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(BINUTILS_DIR) HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(BINUTILS_DIR)
endif endif

View File

@ -2,14 +2,14 @@
choice choice
prompt "GCC compiler Version" if TOOLCHAINOPTS prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_6_2_ARC if arc default GCC_USE_VERSION_6_3_ARC if arc
default GCC_USE_VERSION_5 default GCC_USE_VERSION_5
help help
Select the version of gcc you wish to use. Select the version of gcc you wish to use.
config GCC_USE_VERSION_6_2_ARC config GCC_USE_VERSION_6_3_ARC
select GCC_VERSION_6_2_ARC select GCC_VERSION_6_3_ARC
bool "gcc 6.2.x with support of ARC cores" bool "gcc 6.3.x with support of ARC cores"
depends on arc depends on arc
config GCC_USE_VERSION_5 config GCC_USE_VERSION_5

View File

@ -1,14 +1,14 @@
config GCC_VERSION_6_2_ARC config GCC_VERSION_6_3_ARC
default y if (!TOOLCHAINOPTS && arc) default y if (!TOOLCHAINOPTS && arc)
bool bool
config GCC_VERSION config GCC_VERSION
string string
default "arc-2016.09-release" if GCC_VERSION_6_2_ARC default "arc-2017.03-release" if GCC_VERSION_6_3_ARC
default "6.3.0" if GCC_USE_VERSION_6 default "6.3.0" if GCC_USE_VERSION_6
default "7.1.0" if GCC_USE_VERSION_7 default "7.1.0" if GCC_USE_VERSION_7
default "5.4.0" default "5.4.0"
config GCC_VERSION_6_2 config GCC_VERSION_6_3
bool bool
default y if GCC_VERSION_6_2_ARC default y if GCC_VERSION_6_3_ARC

View File

@ -40,12 +40,12 @@ ifeq ($(PKG_VERSION),7.1.0)
PKG_HASH:=8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17 PKG_HASH:=8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17
endif endif
ifneq ($(CONFIG_GCC_VERSION_6_2_ARC),) ifneq ($(CONFIG_GCC_VERSION_6_3_ARC),)
PKG_VERSION:=6.2.1 PKG_VERSION:=6.3.0
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/archive/$(GCC_VERSION) PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/archive/$(GCC_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(GCC_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(GCC_VERSION).tar.gz
PKG_HASH:=d6f842dd266ccb0d5a53b51e2b2951503569f2ff3c84f81b2a1d9fea109ec077 PKG_HASH:=b7223e134199b1a6f71de629da6aa845790e55d28e9892143dde09b1bc878110
PKG_REV:=2016.09 PKG_REV:=2017.03-release
GCC_DIR:=gcc-arc-$(PKG_REV) GCC_DIR:=gcc-arc-$(PKG_REV)
HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_NAME)-$(GCC_VERSION) HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_NAME)-$(GCC_VERSION)
endif endif

View File

@ -9,11 +9,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gdb PKG_NAME:=gdb
ifeq ($(CONFIG_arc),y) ifeq ($(CONFIG_arc),y)
PKG_VERSION:=arc-2016.09-gdb PKG_VERSION:=arc-2017.03-gdb
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/arc-2016.09-gdb PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/arc-2017.03-gdb
PKG_HASH:=b7601f8953055c6768304da7f7ee48abc0fc0ad2bec8f93bbefb29780467f21d PKG_HASH:=f47930161e9e99c46ab018dabbf56024739dda29c51f92495eaa0d4d7e3511f6
GDB_DIR:=binutils-$(PKG_NAME)-$(PKG_VERSION) GDB_DIR:=binutils-$(PKG_NAME)-$(PKG_VERSION)
PATCH_DIR:=./patches-arc PATCH_DIR:=./patches-arc
else else