diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-24 22:30:37 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-24 22:31:08 +0100 |
commit | a26c1bfdc82851e2b4d3b9c9ca5fa3b7c8d393fd (patch) | |
tree | 7a3b1f637b2dd969b51c7b773be730d916697950 /target | |
parent | b13aeb6a05fc01a421a06c3d31be51421688579a (diff) |
allow to build leon3 optimized toolchain for sparc
Diffstat (limited to 'target')
-rw-r--r-- | target/config/Config.in.cpu | 6 | ||||
-rw-r--r-- | target/config/Config.in.tc | 11 | ||||
-rw-r--r-- | target/sparc/systems/toolchain-sparc | 1 |
3 files changed, 17 insertions, 1 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 002d39a70..84695753c 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -653,6 +653,11 @@ config ADK_CPU_SPARC_V8 select ADK_TARGET_WITH_NPTL select ADK_TARGET_WITH_MMU +config ADK_CPU_SPARC_LEON + bool + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + config ADK_CPU_SPARC_V9 bool select ADK_LINUX_64 @@ -793,6 +798,7 @@ config ADK_TARGET_GCC_CPU default "powerpc" if ADK_CPU_PPC default "ultrasparc" if ADK_CPU_SPARC_V9 default "v8" if ADK_CPU_SPARC_V8 + default "leon" if ADK_CPU_SPARC_LEON default "xscale" if ADK_CPU_XSCALE config ADK_TARGET_GCC_ARCH diff --git a/target/config/Config.in.tc b/target/config/Config.in.tc index 23a77b566..d873ae05f 100644 --- a/target/config/Config.in.tc +++ b/target/config/Config.in.tc @@ -13,6 +13,7 @@ depends on (ADK_TARGET_TOOLCHAIN || ADK_TARGET_SIM) && \ || ADK_TARGET_ARCH_MIPS \ || ADK_TARGET_ARCH_MIPS64 \ || ADK_TARGET_ARCH_SH \ + || ADK_TARGET_ARCH_SPARC \ || ADK_TARGET_ARCH_X86 ) config ADK_TARGET_CPU_ARC_ARC700 @@ -472,6 +473,16 @@ config ADK_TARGET_CPU_SH_SH4A select ADK_CPU_SH4A depends on ADK_TARGET_ARCH_SH +config ADK_TARGET_CPU_SPARC_V8 + bool "v8" + select ADK_CPU_SPARC_V8 + depends on ADK_TARGET_ARCH_SPARC + +config ADK_TARGET_CPU_SPARC_LEON + bool "leon" + select ADK_CPU_SPARC_LEON + depends on ADK_TARGET_ARCH_SPARC + config ADK_TARGET_CPU_X86_I486 bool "i486" select ADK_CPU_I486 diff --git a/target/sparc/systems/toolchain-sparc b/target/sparc/systems/toolchain-sparc index 9326d78c7..7346ab3cc 100644 --- a/target/sparc/systems/toolchain-sparc +++ b/target/sparc/systems/toolchain-sparc @@ -1,6 +1,5 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_SPARC bool "Toolchain only" - select ADK_CPU_SPARC_V8 select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help |