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(-)
1 # Target definition: architecture, optimisations, etc...
8 # Pre-declare target optimisation variables
14 config ARCH_SUPPORTS_BOTH_ENDIAN
15 config ARCH_DEFAULT_BE
16 config ARCH_DEFAULT_LE
21 comment "General target options"
25 prompt "Target architecture:"
27 source config.gen/arch.in
31 config ARCH_SUPPORTS_BOTH_ENDIAN
35 config ARCH_DEFAULT_BE
39 config ARCH_DEFAULT_LE
46 depends on ARCH_SUPPORTS_BOTH_ENDIAN
47 default ARCH_BE if ARCH_DEFAULT_BE
48 default ARCH_LE if ARCH_DEFAULT_LE
56 prompt "Little endian"
60 comment "Target optimisations"
64 prompt "Architecture level"
67 GCC uses this name to determine what kind of instructions it can emit
68 when generating assembly code. This option can be used in conjunction
69 with or instead of the ARCH_CPU option (above), or a (command-line)
72 This is the configuration flag --with-arch=XXXX, and the runtime flag
75 Pick a value from the gcc manual for your choosen gcc version and your
78 Leave blank if you don't know, or if your target architecture does not
83 prompt "Generate code for the specific ABI"
86 Generate code for the given ABI.
88 This is the configuration flag --with-abi=XXXX, and the runtime flag
91 Pick a value from the gcc manual for your choosen gcc version and your
94 Leave blank if you don't know, or if your target architecutre does not
99 prompt "Emit assembly for CPU"
102 This specifies the name of the target processor. GCC uses this name
103 to determine what kind of instructions it can emit when generating
106 This is the configuration flag --with-cpu=XXXX, and the runtime flag
109 Pick a value from the gcc manual for your choosen gcc version and your
112 Leave blank if you don't know, or if your target architecture does not
117 prompt "Tune for CPU"
120 This option is very similar to the ARCH_CPU option (above), except
121 that instead of specifying the actual target processor type, and hence
122 restricting which instructions can be used, it specifies that GCC should
123 tune the performance of the code as if the target were of the type
124 specified in this option, but still choosing the instructions that it
125 will generate based on the cpu specified by the ARCH_CPU option
126 (above), or a (command-line) -mcpu= option.
128 This is the configuration flag --with-tune=XXXX, and the runtime flag
131 Pick a value from the gcc manual for your choosen gcc version and your
134 Leave blank if you don't know, or if your target architecture does not
139 prompt "Use specific FPU"
142 On some targets (eg. ARM), you can specify the kind of FPU to emit
145 This is the configuration flag --with-fpu=XXX, and the runtime flag
148 See below wether to actually emit FP opcodes, or to emulate them.
150 Pick a value from the gcc manual for your choosen gcc version and your
153 Leave blank if you don't know, or if your target architecture does not
158 prompt "Floating point:"
162 prompt "hardware (FPU)"
164 Emit hardware floating point opcodes.
166 If you've got a processor with a FPU, then you want that.
167 If your hardware has no FPU, you still can use HW floating point, but
168 need to compile support for FPU emulation in your kernel. Needless to
169 say that emulating the FPU is /slooowwwww/...
171 One situation you'd want HW floating point without a FPU is if you get
172 binary blobs from different vendors that are compiling this way and
173 can't (don't wan't to) change.
179 Do not emit any hardware floating point opcode.
181 If your processor has no FPU, then you most probably want this, as it
182 is faster than emulating the FPU in the kernel.
188 prompt "Target CFLAGS"
191 Used to add specific options when compiling libraries of the toolchain,
192 that will run on the target (eg. libc.so).
194 Note that the options above for ARCH, ABI, CPU, TUNE and FPU will be
195 automaticaly used. You don't need to specify them here.
197 Leave blank if you don't know better.