From ba4ff2520c8759cce53de7140323ea7932bb598b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 11 Mar 2018 12:23:30 +0100 Subject: arc: use synopsys toolchain, upstream not fully usable --- target/config/Config.in.binutils | 6 ++++++ target/config/Config.in.compiler | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'target') 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 -- cgit v1.2.3