summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-27 13:58:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-27 13:58:53 (GMT)
commit62744e84e72e021ad266af1a005f02322ab5ab90 (patch)
tree83c5446f053dc4469d8f0e264614503cb87cc181 /config
parent4bf71cb437ba64bd350b315298b2ba0a0c21d6c3 (diff)
Autogenerate the architecture selection choice menu.
Update architectures definition files accordingly. Update documentation accordingly. Use makefile syntax when listing arch/, tools/ and debug/ config files. /trunk/kconfig/kconfig.mk | 32 29 3 0 +++++++++++++++-- /trunk/docs/overview.txt | 75 67 8 0 +++++++++++++++++++++++++++++++++++---- /trunk/config/target.in | 94 16 78 0 ++++++++----------------------------------------- /trunk/arch/arm/config.in | 6 5 1 0 +++ /trunk/arch/powerpc/config.in | 2 2 0 0 + /trunk/arch/ia64/config.in | 4 4 0 0 ++ /trunk/arch/alpha/config.in | 2 1 1 0 /trunk/arch/x86/config.in | 3 3 0 0 ++ /trunk/arch/mips/config.in | 5 5 0 0 +++ /trunk/arch/sh/config.in | 4 3 1 0 ++ /trunk/arch/x86_64/config.in | 3 3 0 0 ++ 11 files changed, 138 insertions(+), 92 deletions(-)
Diffstat (limited to 'config')
-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