From fe629f97d84c1444e47152f73b4f3e1c1a3ec56d Mon Sep 17 00:00:00 2001 From: Konrad Eisele Date: Tue, 9 Nov 2010 13:27:34 -0300 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- CHANGES | 2 ++ target/Config.in.arch | 31 +++++++++++++++++++------------ 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/CHANGES b/CHANGES index 03e951306b..e703a0732e 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 e08ce5b2b1..d8285010ab 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