43b78e7285
There is support for -mcpu=leon3 from gcc 4.8.3. Use this for LEON systems instead of the non-mainline targets sparcsfleon, sparchfleon, sparcsfleonv8, and sparchfleonv8. [Thomas: add Config.in.legacy handling for the removed options.] Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
449 B
Plaintext
28 lines
449 B
Plaintext
choice
|
|
prompt "Target Architecture Variant"
|
|
depends on BR2_sparc
|
|
default BR2_sparc_v8
|
|
help
|
|
Specific CPU variant to use
|
|
|
|
config BR2_sparc_v8
|
|
bool "v8"
|
|
config BR2_sparc_leon3
|
|
bool "leon3"
|
|
endchoice
|
|
|
|
config BR2_ARCH
|
|
default "sparc" if BR2_sparc
|
|
|
|
config BR2_ENDIAN
|
|
default "BIG"
|
|
|
|
config BR2_ARCH_HAS_ATOMICS
|
|
default y
|
|
|
|
config BR2_GCC_TARGET_TUNE
|
|
default "v8" if BR2_sparc_v8
|
|
|
|
config BR2_GCC_TARGET_CPU
|
|
default "leon3" if BR2_sparc_leon3
|