arch: sparc: Add leon3 cpu type and remove sparc{s,h}fleon{,v8}

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>
This commit is contained in:
Andreas Larsson
2014-10-30 09:29:35 +01:00
committed by Thomas Petazzoni
parent fd0a51de45
commit 43b78e7285
4 changed files with 41 additions and 264 deletions

View File

@@ -7,14 +7,8 @@ choice
config BR2_sparc_v8
bool "v8"
config BR2_sparc_sparchfleon
bool "hfleon"
config BR2_sparc_sparchfleonv8
bool "hfleonv8"
config BR2_sparc_sparcsfleon
bool "sfleon"
config BR2_sparc_sparcsfleonv8
bool "sfleonv8"
config BR2_sparc_leon3
bool "leon3"
endchoice
config BR2_ARCH
@@ -30,7 +24,4 @@ config BR2_GCC_TARGET_TUNE
default "v8" if BR2_sparc_v8
config BR2_GCC_TARGET_CPU
default "sparchfleon" if BR2_sparc_sparchfleon
default "sparchfleonv8" if BR2_sparc_sparchfleonv8
default "sparcsfleon" if BR2_sparc_sparcsfleon
default "sparcsfleonv8" if BR2_sparc_sparcsfleonv8
default "leon3" if BR2_sparc_leon3