diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-08-29 09:57:33 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-10-10 12:51:45 +0200 |
commit | 4a92f6754a39d8dc22a8285fef36b0b58619cb24 (patch) | |
tree | d217d10de3694a6ceb042d34586957b222e52a9d /arch | |
parent | 217ca447d60042e8f90e35494f90ae4313f70b28 (diff) | |
download | buildroot-4a92f6754a39d8dc22a8285fef36b0b58619cb24.tar.gz buildroot-4a92f6754a39d8dc22a8285fef36b0b58619cb24.zip |
toolchain: add sparc64 architecture support
Introduce sparc64 architecture to buildroot.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Config.in | 12 | ||||
-rw-r--r-- | arch/Config.in.sparc | 12 |
2 files changed, 21 insertions, 3 deletions
diff --git a/arch/Config.in b/arch/Config.in index 875f4121a2..4cdd54e251 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -217,6 +217,16 @@ config BR2_sparc http://www.oracle.com/sun http://en.wikipedia.org/wiki/Sparc +config BR2_sparc64 + bool "SPARC64" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + SPARC (from Scalable Processor Architecture) is a RISC instruction + set architecture (ISA) developed by Sun Microsystems. + http://www.oracle.com/sun + http://en.wikipedia.org/wiki/Sparc + config BR2_x86_64 bool "x86_64" select BR2_ARCH_IS_64 @@ -388,7 +398,7 @@ if BR2_sh || BR2_sh64 source "arch/Config.in.sh" endif -if BR2_sparc +if BR2_sparc || BR2_sparc64 source "arch/Config.in.sparc" endif diff --git a/arch/Config.in.sparc b/arch/Config.in.sparc index cc10e8d0ef..307540fdbf 100644 --- a/arch/Config.in.sparc +++ b/arch/Config.in.sparc @@ -1,18 +1,25 @@ choice prompt "Target Architecture Variant" - depends on BR2_sparc - default BR2_sparc_v8 + depends on BR2_sparc || BR2_sparc64 + default BR2_sparc_v8 if BR2_sparc + default BR2_sparc_v9 if BR2_sparc64 help Specific CPU variant to use config BR2_sparc_v8 bool "v8" + depends on BR2_sparc config BR2_sparc_leon3 bool "leon3" + depends on BR2_sparc +config BR2_sparc_v9 + bool "v9" + depends on BR2_sparc64 endchoice config BR2_ARCH default "sparc" if BR2_sparc + default "sparc64" if BR2_sparc64 config BR2_ENDIAN default "BIG" @@ -20,3 +27,4 @@ config BR2_ENDIAN config BR2_GCC_TARGET_CPU default "leon3" if BR2_sparc_leon3 default "v8" if BR2_sparc_v8 + default "ultrasparc" if BR2_sparc_v9 |