summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-04 03:49:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-20 22:24:16 +0200
commit218497de42c8f3205ea631ad7250d2b61d30b2f9 (patch)
tree515637fd905e39612f1e4813148d2f1b03f1e501 /toolchain
parentff67685ed9f11c885a4fa5ded08e44d5fcfb32a6 (diff)
downloadbuildroot-novena-218497de42c8f3205ea631ad7250d2b61d30b2f9.tar.gz
buildroot-novena-218497de42c8f3205ea631ad7250d2b61d30b2f9.zip
Move BR2_SPARC_TYPE to an uClibc specific place
BR2_SPARC_TYPE is a hidden configuration option that is only used for the configuration of uClibc, therefore, we move it from target/Config.arch.in to toolchain/uClibc/Config.in. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Config.in6
-rw-r--r--toolchain/uClibc/uclibc.mk2
2 files changed, 7 insertions, 1 deletions
diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index fbe617afd..f46a415ac 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -98,3 +98,9 @@ config BR2_UCLIBC_ARM_TYPE
default ARM_IWMMXT if BR2_iwmmxt
default ARM_CORTEXA8 if BR2_cortex_a8
default ARM_CORTEXA9 if BR2_cortex_a9
+
+config BR2_UCLIBC_SPARC_TYPE
+ string
+ depends on BR2_sparc
+ 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
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 7b312d324..20cc820ae 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -50,7 +50,7 @@ UCLIBC_NOT_TARGET_ENDIAN:=LITTLE
endif
UCLIBC_ARM_TYPE:=CONFIG_$(call qstrip,$(BR2_UCLIBC_ARM_TYPE))
-UCLIBC_SPARC_TYPE:=CONFIG_SPARC_$(call qstrip,$(BR2_SPARC_TYPE))
+UCLIBC_SPARC_TYPE:=CONFIG_SPARC_$(call qstrip,$(BR2_UCLIBC_SPARC_TYPE))
ifeq ($(GENERATE_LOCALE),)
# We need at least one locale