summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Eisele <konrad@gaisler.com>2010-11-09 13:27:34 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-25 00:30:44 +0100
commitfe629f97d84c1444e47152f73b4f3e1c1a3ec56d (patch)
tree1beb092e923cfa16d8ac151d631cf059ba2b1617
parent972cd4229b21f03183fe7b72a36ffc2be81d87e3 (diff)
Cconfig: Add sparc-leon processors, remove deprecated v9 Sparc type.
Add the Sparc processor variants hfleon (fpu,v9), hfleonv8 (fpu,v8), sfleon (softfpu,v7) sfleonv8 (softfpu,v8) and tweak the existing ones. Signed-off-by: Konrad Eisele <konrad@gaisler.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--target/Config.in.arch31
2 files changed, 21 insertions, 12 deletions
diff --git a/CHANGES b/CHANGES
index 03e951306..e703a0732 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@
Fixes all over the tree.
+ Add support for LEON Sparc architecture variants.
+
Updated/fixed packages: bash, bind, busybox, gpsd, libglib2,
libcurl, libmad, lrzsz, midori, module-init-tools, mtd-utils,
openssh, openssl, pciutils, php, qt, sqlite, sysstat, webkit,
diff --git a/target/Config.in.arch b/target/Config.in.arch
index e08ce5b2b..d8285010a 100644
--- a/target/Config.in.arch
+++ b/target/Config.in.arch
@@ -304,6 +304,14 @@ config BR2_sparc_cypress
bool "cypress"
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_supersparc
bool "supersparc"
config BR2_sparc_sparclite
@@ -320,20 +328,13 @@ config BR2_sparc_sparclet
bool "sparclet"
config BR2_sparc_tsc701
bool "tsc701"
-config BR2_sparc_v9
- bool "v9"
-config BR2_sparc_v9a
- bool "v9a"
-config BR2_sparc_v9b
- bool "v9b"
-config BR2_sparc_ultrasparc
- bool "ultrasparc"
-config BR2_sparc_ultrasparc3
- bool "ultrasparc3"
-config BR2_sparc_niagara
- bool "niagara"
endchoice
+config BR2_SPARC_TYPE
+ string
+ default V7 if BR2_sparc_v7 || BR2_sparc_cypress || BR2_sparc_sparclite || BR2_sparc_f930 || BR2_sparc_f934 || BR2_sparc_sparclite86x || BR2_sparc_sparclet || BR2_sparc_tsc701 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon
+ default V8 if BR2_sparc_v8 || BR2_sparc_supersparc || BR2_sparc_hypersparc || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8
+
choice
prompt "Target Architecture Variant"
depends on BR2_xtensa
@@ -666,3 +667,9 @@ config BR2_GCC_TARGET_ABI
default ibmlongdouble if BR2_powerpc && BR2_PPC_ABI_ibmlongdouble
default ieeelongdouble if BR2_powerpc && BR2_PPC_ABI_ieeelongdouble
+config BR2_GCC_TARGET_CPU
+ string
+ default sparchfleon if BR2_sparc_sparchfleon
+ default sparchfleonv8 if BR2_sparc_sparchfleonv8
+ default sparcsfleon if BR2_sparc_sparcsfleon
+ default sparcsfleonv8 if BR2_sparc_sparcsfleonv8