summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-10-02 03:12:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-10-02 03:12:52 +0200
commitbdfc425becf0bb66494b3c80b9ff67df33db74ad (patch)
tree20fdafe20cf25f473a9619325f650663c6431314
parent604544804f69ed8b3cee8776a8f0078459c2b1d9 (diff)
reintroduce arc binutils/gcc from github
-rw-r--r--target/config/Config.in.binutils5
-rw-r--r--target/config/Config.in.compiler6
-rw-r--r--toolchain/binutils/Makefile.inc7
-rw-r--r--toolchain/gcc/Makefile.inc7
4 files changed, 24 insertions, 1 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index ea3a50d16..8f1d9b7b3 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -3,6 +3,7 @@
choice
prompt "Binutils version"
+default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_BINUTILS_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_BINUTILS_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2
@@ -29,6 +30,10 @@ config ADK_TOOLCHAIN_BINUTILS_2_28
bool "2.28"
depends on ADK_TARGET_CPU_SH_J2
+config ADK_TOOLCHAIN_BINUTILS_ARC
+ bool "arc-2020.09-eng007"
+ depends on ADK_TARGET_ARCH_ARC
+
config ADK_TOOLCHAIN_BINUTILS_NDS32
bool "nds32-2.30-open"
depends on ADK_TARGET_ARCH_NDS32
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index ac41e4c28..4425bc24a 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -12,6 +12,7 @@ endchoice
choice
prompt "GCC version"
depends on ADK_BUILD_COMPILER_GCC
+default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
@@ -21,7 +22,6 @@ default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_HPPA
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
-default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_8
config ADK_TOOLCHAIN_GCC_GIT
@@ -67,6 +67,10 @@ config ADK_TOOLCHAIN_GCC_7
depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_OR1K
+config ADK_TOOLCHAIN_GCC_ARC
+ bool "arc-2020.09-eng007"
+ depends on ADK_TARGET_ARCH_ARC
+
config ADK_TOOLCHAIN_GCC_AVR32
bool "4.4.7-avr32"
depends on ADK_TARGET_ARCH_AVR32
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 025762499..259229334 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -23,6 +23,13 @@ PKG_HASH:= cd717966fc761d840d451dbd58d44e1e5b92949d2073d75b73fccb476d772fcf
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_ARC),y)
+PKG_VERSION:= arc-2020.09-eng007
+PKG_GIT:= tag
+PKG_RELEASE:= 1
+PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb.git
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_NDS32),y)
PKG_VERSION:= nds32-binutils-2.30-branch-open
PKG_GIT:= branch
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 84bd536fc..fff7dc896 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -34,6 +34,13 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
LIBSTDCXXVER:= 23
endif
+ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
+PKG_VERSION:= arc-2020.09-eng007
+PKG_GIT:= tag
+PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
PKG_VERSION:= 4.4.7
PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32