summaryrefslogtreecommitdiff
path: root/config/target.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/target.in')
-rw-r--r--config/target.in94
1 files changed, 16 insertions, 78 deletions
diff --git a/config/target.in b/config/target.in
index d26bfe0..2060da5 100644
--- a/config/target.in
+++ b/config/target.in
@@ -2,65 +2,29 @@
menu "Target options"
-comment "General target options"
-
config ARCH
string
- default "alpha" if ARCH_ALPHA
- default "arm" if ARCH_ARM
- default "ia64" if ARCH_IA64
- default "mips" if ARCH_MIPS
- default "powerpc" if ARCH_PPC
- default "sh" if ARCH_SH
- default "x86" if ARCH_x86
- default "x86_64" if ARCH_x86_64
-
-choice
- bool
- prompt "Target architecture:"
- default ARCH_x86
-
-config ARCH_ALPHA
- bool
- prompt "alpha (EXPERIMENTAL)"
- depends on EXPERIMENTAL
-config ARCH_ARM
- bool
- prompt "arm"
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_LE
-
-config ARCH_IA64
- bool
- prompt "ia64 (EXPERIMENTAL)"
- depends on EXPERIMENTAL
- select ARCH_SUPPORTS_BOTH_ENDIAN
-
-config ARCH_MIPS
- bool
- prompt "mips"
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_BE
-
-config ARCH_PPC
- bool
- prompt "powerpc"
+# Pre-declare target optimisation variables
+config ARCH_ARCH
+config ARCH_ABI
+config ARCH_CPU
+config ARCH_TUNE
+config ARCH_FPU
+config ARCH_SUPPORTS_BOTH_ENDIAN
+config ARCH_DEFAULT_BE
+config ARCH_DEFAULT_LE
+config ARCH_FLOAT_HW
+config ARCH_FLOAT_SW
+config TARGET_CFLAGS
-config ARCH_SH
- bool
- prompt "sh (EXPERIMENTAL)"
- depends on EXPERIMENTAL
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_LE
+comment "General target options"
-config ARCH_x86
+choice
bool
- prompt "x86"
+ prompt "Target architecture:"
-config ARCH_x86_64
- bool
- prompt "x86_64"
+source config.gen/arch.in
endchoice
@@ -93,32 +57,6 @@ config ARCH_LE
endchoice
-# Include architecture-specific configuration
-if ARCH_ALPHA
-source config/arch/alpha/config.in
-endif
-if ARCH_ARM
-source config/arch/arm/config.in
-endif
-if ARCH_IA64
-source config/arch/ia64/config.in
-endif
-if ARCH_MIPS
-source config/arch/mips/config.in
-endif
-if ARCH_PPC
-source config/arch/powerpc/config.in
-endif
-if ARCH_SH
-source config/arch/sh/config.in
-endif
-if ARCH_x86
-source config/arch/x86/config.in
-endif
-if ARCH_x86_64
-source config/arch/x86_64/config.in
-endif
-
comment "Target optimisations"
config ARCH_ARCH