diff -r 42faddd0098a -r 7e2539937b6e config/target.in --- a/config/target.in Sat Apr 21 17:31:51 2007 +0000 +++ b/config/target.in Mon Apr 23 20:30:34 2007 +0000 @@ -4,6 +4,13 @@ comment "General target options" +config ARCH + string + default "arm" if ARCH_ARM + default "mips" if ARCH_MIPS + default "x86" if ARCH_x86 + default "x86_64" if ARCH_x86_64 + choice bool prompt "Target architecture:" @@ -59,6 +66,25 @@ comment "Target optimisations" +config ARCH_ARCH + string + prompt "Achitecture level" + default "" + help + GCC uses this name to determine what kind of instructions it can emit + when generating assembly code. This option can be used in conjunction + with or instead of the ARCH_CPU option (above), or a (command-line) + -mcpu= option. + + This is the configuration flag --with-arch=XXXX, and the runtime flag + -march=XXX. + + Pick a value from the gcc manual for your choosen gcc version and your + target CPU. + + Leave blank if you don't know, or if your target architecture does not + offer this option. + config ARCH_ABI string prompt "Generate code for the specific ABI" @@ -66,6 +92,9 @@ help Generate code for the given ABI. + This is the configuration flag --with-abi=XXXX, and the runtime flag + -mabi=XXX. + Pick a value from the gcc manual for your choosen gcc version and your target CPU. @@ -81,6 +110,9 @@ to determine what kind of instructions it can emit when generating assembly code. + This is the configuration flag --with-cpu=XXXX, and the runtime flag + -mcpu=XXX. + Pick a value from the gcc manual for your choosen gcc version and your target CPU. @@ -100,21 +132,8 @@ will generate based on the cpu specified by the ARCH_CPU option (above), or a (command-line) -mcpu= option. - Pick a value from the gcc manual for your choosen gcc version and your - target CPU. - - Leave blank if you don't know, or if your target architecture does not - offer this option. - -config ARCH_ARCH - string - prompt "Achitecture level" - default "" - help - GCC uses this name to determine what kind of instructions it can emit - when generating assembly code. This option can be used in conjunction - with or instead of the ARCH_CPU option (above), or a (command-line) - -mcpu= option. + This is the configuration flag --with-tune=XXXX, and the runtime flag + -mtune=XXX. Pick a value from the gcc manual for your choosen gcc version and your target CPU. @@ -124,11 +143,14 @@ config ARCH_FPU string - prompt "Use FPU" + prompt "Use specific FPU" default "" help On some targets (eg. ARM), you can specify the kind of FPU to emit code for. + + This is the configuration flag --with-fpu=XXX, and the runtime flag + -mfpu=XXX. See below wether to actually emit FP opcodes, or to emulate them.