diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-04-27 20:54:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-04-27 20:54:26 +0200 |
commit | 5ffc823114c78a9470a2ad17b2985575ecd362ec (patch) | |
tree | 0c6005506bc5b1602651736d0ae78822cc8e7c5b /target | |
parent | a19820e6c3a85672cd5e35e28be18bc00a64443f (diff) |
add support for ARCv2 ARC HS toolchain compilation
Diffstat (limited to 'target')
-rw-r--r-- | target/arc/systems/toolchain-arc | 1 | ||||
-rw-r--r-- | target/config/Config.in.cpu | 4 | ||||
-rw-r--r-- | target/config/Config.in.tc | 11 |
3 files changed, 13 insertions, 3 deletions
diff --git a/target/arc/systems/toolchain-arc b/target/arc/systems/toolchain-arc index 79e6b3ec8..15e5b58fc 100644 --- a/target/arc/systems/toolchain-arc +++ b/target/arc/systems/toolchain-arc @@ -1,6 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ARC bool "Toolchain only" - select ADK_CPU_ARC700 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 1dcd72fd0..37d6968c8 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -18,7 +18,7 @@ config ADK_CPU_ARC700 select ADK_TARGET_WITH_NPTL select ADK_TARGET_WITH_MMU -config ADK_CPU_ARCv2EM +config ADK_CPU_ARC_HS bool select ADK_TARGET_WITH_NPTL select ADK_TARGET_WITH_MMU @@ -320,7 +320,7 @@ config ADK_TARGET_GCC_CPU default "440" if ADK_CPU_PPC_440 default "5208" if ADK_CPU_CF_5208 default "arc700" if ADK_CPU_ARC700 - default "arcv2em" if ADK_CPU_ARCv2EM + default "archs" if ADK_CPU_ARC_HS default "arm1176jzf-s" if ADK_CPU_ARM1176JZF_S default "arm926ej-s" if ADK_CPU_ARM926EJ_S default "armv8-a" if ADK_CPU_ARMV8 diff --git a/target/config/Config.in.tc b/target/config/Config.in.tc index ab2ead75d..5e3805100 100644 --- a/target/config/Config.in.tc +++ b/target/config/Config.in.tc @@ -5,9 +5,20 @@ choice ADK_TARGET_CPU prompt "CPU type" depends on ADK_TARGET_TOOLCHAIN && \ ( ADK_TARGET_ARCH_CRIS \ + || ADK_TARGET_ARCH_ARC \ || ADK_TARGET_ARCH_ARM \ || ADK_TARGET_ARCH_X86 ) +config ADK_TARGET_CPU_ARC_ARC700 + bool "ARC700 (ARCv1)" + select ADK_CPU_ARC700 + depends on ADK_TARGET_ARCH_ARC + +config ADK_TARGET_CPU_ARC_ARC_HS + bool "ARC HS (ARCv2)" + select ADK_CPU_ARC_HS + depends on ADK_TARGET_ARCH_ARC + config ADK_TARGET_CPU_ARM_CORTEX_A9 bool "cortex-a9" select ADK_CPU_CORTEX_A9 |