mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
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>
This commit is contained in:
parent
217ca447d6
commit
4a92f6754a
@ -217,6 +217,16 @@ config BR2_sparc
|
|||||||
http://www.oracle.com/sun
|
http://www.oracle.com/sun
|
||||||
http://en.wikipedia.org/wiki/Sparc
|
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
|
config BR2_x86_64
|
||||||
bool "x86_64"
|
bool "x86_64"
|
||||||
select BR2_ARCH_IS_64
|
select BR2_ARCH_IS_64
|
||||||
@ -388,7 +398,7 @@ if BR2_sh || BR2_sh64
|
|||||||
source "arch/Config.in.sh"
|
source "arch/Config.in.sh"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BR2_sparc
|
if BR2_sparc || BR2_sparc64
|
||||||
source "arch/Config.in.sparc"
|
source "arch/Config.in.sparc"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,18 +1,25 @@
|
|||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
depends on BR2_sparc
|
depends on BR2_sparc || BR2_sparc64
|
||||||
default BR2_sparc_v8
|
default BR2_sparc_v8 if BR2_sparc
|
||||||
|
default BR2_sparc_v9 if BR2_sparc64
|
||||||
help
|
help
|
||||||
Specific CPU variant to use
|
Specific CPU variant to use
|
||||||
|
|
||||||
config BR2_sparc_v8
|
config BR2_sparc_v8
|
||||||
bool "v8"
|
bool "v8"
|
||||||
|
depends on BR2_sparc
|
||||||
config BR2_sparc_leon3
|
config BR2_sparc_leon3
|
||||||
bool "leon3"
|
bool "leon3"
|
||||||
|
depends on BR2_sparc
|
||||||
|
config BR2_sparc_v9
|
||||||
|
bool "v9"
|
||||||
|
depends on BR2_sparc64
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_ARCH
|
config BR2_ARCH
|
||||||
default "sparc" if BR2_sparc
|
default "sparc" if BR2_sparc
|
||||||
|
default "sparc64" if BR2_sparc64
|
||||||
|
|
||||||
config BR2_ENDIAN
|
config BR2_ENDIAN
|
||||||
default "BIG"
|
default "BIG"
|
||||||
@ -20,3 +27,4 @@ config BR2_ENDIAN
|
|||||||
config BR2_GCC_TARGET_CPU
|
config BR2_GCC_TARGET_CPU
|
||||||
default "leon3" if BR2_sparc_leon3
|
default "leon3" if BR2_sparc_leon3
|
||||||
default "v8" if BR2_sparc_v8
|
default "v8" if BR2_sparc_v8
|
||||||
|
default "ultrasparc" if BR2_sparc_v9
|
||||||
|
@ -67,7 +67,8 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
|||||||
BR2_mipsel || BR2_mips64 || BR2_mips64el|| \
|
BR2_mipsel || BR2_mips64 || BR2_mips64el|| \
|
||||||
BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
|
BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
|
||||||
BR2_sh || BR2_sh64 || BR2_sparc || \
|
BR2_sh || BR2_sh64 || BR2_sparc || \
|
||||||
BR2_x86_64 || BR2_microblaze || BR2_nios2
|
BR2_sparc64 || BR2_x86_64 || BR2_microblaze || \
|
||||||
|
BR2_nios2
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on !BR2_powerpc_SPE
|
depends on !BR2_powerpc_SPE
|
||||||
|
Loading…
Reference in New Issue
Block a user