diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-27 15:08:43 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-27 15:08:43 +0000 |
commit | 055681518cfee384e6975d8821164c6579df0657 (patch) | |
tree | 5258cf5f6c99cf07188ac34dcb01ac60bae35eed /config/target.in | |
parent | 4b7c2e32acca981469e02b8cd010730705c97f88 (diff) | |
download | crosstool-ng-055681518cfee384e6975d8821164c6579df0657.tar.gz crosstool-ng-055681518cfee384e6975d8821164c6579df0657.tar.bz2 crosstool-ng-055681518cfee384e6975d8821164c6579df0657.zip |
Only present each of arch, abi, cpu tune and fpu optimisations for those targets supporting them.
/trunk/config/target.in | 30 30 0 0 ++++++++++++++++++++++++++++++
/trunk/arch/arm/config.in | 5 5 0 0 +++++
/trunk/arch/powerpc/config.in | 3 3 0 0 +++
/trunk/arch/alpha/config.in | 2 2 0 0 ++
/trunk/arch/x86/config.in | 3 3 0 0 +++
/trunk/arch/mips/config.in | 3 3 0 0 +++
/trunk/arch/x86_64/config.in | 3 3 0 0 +++
7 files changed, 49 insertions(+)
Diffstat (limited to 'config/target.in')
-rw-r--r-- | config/target.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in index 2060da52..3a31d904 100644 --- a/config/target.in +++ b/config/target.in @@ -6,10 +6,15 @@ config ARCH string # Pre-declare target optimisation variables +config ARCH_SUPPORT_ARCH config ARCH_ARCH +config ARCH_SUPPORT_ABI config ARCH_ABI +config ARCH_SUPPORT_CPU config ARCH_CPU +config ARCH_SUPPORT_TUNE config ARCH_TUNE +config ARCH_SUPPORT_FPU config ARCH_FPU config ARCH_SUPPORTS_BOTH_ENDIAN config ARCH_DEFAULT_BE @@ -59,9 +64,30 @@ endchoice comment "Target optimisations" +config ARCH_SUPPORT_ARCH + bool + default n + +config ARCH_SUPPORT_ABI + bool + default n + +config ARCH_SUPPORT_CPU + bool + default n + +config ARCH_SUPPORT_TUNE + bool + default n + +config ARCH_SUPPORT_FPU + bool + default n + config ARCH_ARCH string prompt "Architecture level" + depends on ARCH_SUPPORT_ARCH default "" help GCC uses this name to determine what kind of instructions it can emit @@ -81,6 +107,7 @@ config ARCH_ARCH config ARCH_ABI string prompt "Generate code for the specific ABI" + depends on ARCH_SUPPORT_ABI default "" help Generate code for the given ABI. @@ -97,6 +124,7 @@ config ARCH_ABI config ARCH_CPU string prompt "Emit assembly for CPU" + depends on ARCH_SUPPORT_CPU default "" help This specifies the name of the target processor. GCC uses this name @@ -115,6 +143,7 @@ config ARCH_CPU config ARCH_TUNE string prompt "Tune for CPU" + depends on ARCH_SUPPORT_TUNE default "" help This option is very similar to the ARCH_CPU option (above), except @@ -137,6 +166,7 @@ config ARCH_TUNE config ARCH_FPU string prompt "Use specific FPU" + depends on ARCH_SUPPORT_FPU default "" help On some targets (eg. ARM), you can specify the kind of FPU to emit |