diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-09-04 03:49:44 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-09-20 22:24:16 +0200 |
commit | 218497de42c8f3205ea631ad7250d2b61d30b2f9 (patch) | |
tree | 515637fd905e39612f1e4813148d2f1b03f1e501 | |
parent | ff67685ed9f11c885a4fa5ded08e44d5fcfb32a6 (diff) | |
download | buildroot-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>
-rw-r--r-- | target/Config.in.arch | 5 | ||||
-rw-r--r-- | toolchain/uClibc/Config.in | 6 | ||||
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/target/Config.in.arch b/target/Config.in.arch index 548691d43..2233dd495 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -499,11 +499,6 @@ config BR2_sparc_tsc701 bool "tsc701" 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 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 |