summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.binutils6
-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, 26 insertions, 0 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index b17b3e159..8ba6e0898 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_CSKY if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_BINUTILS_NDS32 if ADK_TARGET_ARCH_NDS32
@@ -19,6 +20,7 @@ config ADK_TOOLCHAIN_BINUTILS_GIT
config ADK_TOOLCHAIN_BINUTILS_2_30
bool "2.30"
+ depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CSKY
depends on !ADK_TARGET_ARCH_NDS32
@@ -34,6 +36,10 @@ config ADK_TOOLCHAIN_BINUTILS_2_28
depends on ADK_TARGET_CPU_SH_J2 \
|| (ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL && ADK_TARGET_OS_LINUX)
+config ADK_TOOLCHAIN_BINUTILS_ARC
+ bool "arc-2018.03-release"
+ depends on ADK_TARGET_ARCH_ARC
+
config ADK_TOOLCHAIN_BINUTILS_NDS32
bool "2.24-nds32"
depends on ADK_TARGET_ARCH_NDS32
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index da9af38bd..6c5d2199d 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -29,6 +29,7 @@ config ADK_TOOLCHAIN_LLVM_VERSION
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_CSKY if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
@@ -48,6 +49,7 @@ config ADK_TOOLCHAIN_GCC_GIT
config ADK_TOOLCHAIN_GCC_7
bool "7.3.0"
+ depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CSKY
depends on !ADK_TARGET_ARCH_METAG
@@ -59,6 +61,10 @@ config ADK_TOOLCHAIN_GCC_6
bool "6.3.0"
depends on ADK_TARGET_CPU_SH_J2
+config ADK_TOOLCHAIN_GCC_ARC
+ bool "arc-2018.03-release"
+ 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 9c7dff16f..d02400134 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-2018.03-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_CSKY),y)
PKG_VERSION:= binutils-2_27-branch-csky
PKG_GIT:= branch
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index f43b0bb53..d4533c02a 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -18,6 +18,13 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
LIBSTDCXXVER:= 22
endif
+ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
+PKG_VERSION:= arc-2018.03-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