arch: cleanup the 32- and 64-bit selection

This commit is contained in:
Yann E. MORIN" 2009-11-17 22:29:50 +01:00
parent d219235f73
commit d5eb1f0dcf
15 changed files with 66 additions and 118 deletions

View File

@ -5,13 +5,6 @@ menu "Target options"
config ARCH
string
# Note: when all archs have migrated to the 32/64 bit selection,
# remove this option, and rename the config options in the bitness
# choice, below.
config ARCH_64
bool
default n
# Pre-declare target optimisation variables
config ARCH_SUPPORTS_BOTH_MMU
config ARCH_SUPPORTS_BOTH_ENDIAN
@ -36,8 +29,8 @@ config ARCH_TUNE
config ARCH_FPU
config ARCH_BE
config ARCH_LE
config ARCH_32b
config ARCH_64b
config ARCH_32
config ARCH_64
config ARCH_FLOAT_HW
config ARCH_FLOAT_SW
config TARGET_CFLAGS
@ -122,19 +115,18 @@ config ARCH_DEFAULT_64
choice
bool
prompt "Bitness:"
default ARCH_32b if ARCH_DEFAULT_32
default ARCH_64b if ARCH_DEFAULT_64
default ARCH_32 if ARCH_DEFAULT_32
default ARCH_64 if ARCH_DEFAULT_64
config ARCH_32b
config ARCH_32
bool
prompt "32-bit"
depends on ARCH_SUPPORTS_32
config ARCH_64b
config ARCH_64
bool
prompt "64-bit"
depends on ARCH_SUPPORTS_64
select ARCH_64
endchoice

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1635_19977a0c46c5
# Tue Nov 17 11:47:12 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:59:13 2009
#
#
@ -86,11 +86,10 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="x86"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
# CT_ARCH_SUPPORTS_32 is not set
# CT_ARCH_SUPPORTS_64 is not set
CT_ARCH_SUPPORTS_32=y
CT_ARCH_SUPPORTS_64=y
CT_ARCH_SUPPORT_ARCH=y
# CT_ARCH_SUPPORT_ABI is not set
CT_ARCH_SUPPORT_CPU=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ARCH="pentium-mmx"
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
# CT_ARCH_32b is not set
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -121,7 +120,6 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
CT_ARCH_x86=y
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1635_19977a0c46c5
# Tue Nov 17 11:47:39 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:59:37 2009
#
#
@ -86,11 +86,10 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="x86"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
# CT_ARCH_SUPPORTS_32 is not set
# CT_ARCH_SUPPORTS_64 is not set
CT_ARCH_SUPPORTS_32=y
CT_ARCH_SUPPORTS_64=y
CT_ARCH_SUPPORT_ARCH=y
# CT_ARCH_SUPPORT_ABI is not set
CT_ARCH_SUPPORT_CPU=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ARCH="i686"
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
# CT_ARCH_32b is not set
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -121,7 +120,6 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
CT_ARCH_x86=y
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1637_7dc6cf91b273
# Tue Nov 17 11:55:12 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 12:00:18 2009
#
#
@ -87,7 +87,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="ia64"
CT_ARCH_64=y
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
# CT_ARCH_SUPPORTS_32 is not set
@ -104,8 +103,8 @@ CT_ARCH_SUPPORTS_64=y
# CT_ARCH_DEFAULT_64 is not set
# CT_ARCH_BE is not set
CT_ARCH_LE=y
# CT_ARCH_32b is not set
CT_ARCH_64b=y
# CT_ARCH_32 is not set
CT_ARCH_64=y
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 10:39:32 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:56:48 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU="405"
CT_ARCH_TUNE="405"
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
# CT_ARCH_FLOAT_HW is not set
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
@ -121,10 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:22:40 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:57:11 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU="860"
CT_ARCH_TUNE=""
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
# CT_ARCH_FLOAT_HW is not set
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
@ -121,10 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:23:44 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:57:27 2009
#
#
@ -87,7 +87,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -105,8 +104,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU="8548"
CT_ARCH_TUNE="8548"
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2"
@ -122,10 +121,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
CT_ARCH_POWERPC_SPE=y
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:29:28 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:57:52 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -121,10 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:24:26 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:58:06 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
# CT_ARCH_FLOAT_HW is not set
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
@ -121,10 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:24:42 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:58:19 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
# CT_ARCH_FLOAT_HW is not set
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
@ -121,10 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1634_192aef864818
# Tue Nov 17 11:32:49 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:58:38 2009
#
#
@ -87,7 +87,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="powerpc"
CT_ARCH_64=y
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -105,8 +104,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ABI=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
# CT_ARCH_32b is not set
CT_ARCH_64b=y
# CT_ARCH_32 is not set
CT_ARCH_64=y
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -122,10 +121,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
CT_ARCH_powerpc=y
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
# CT_ARCH_POWERPC_SPE is not set
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1636_2ed5947c896a
# Tue Nov 17 11:53:01 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 11:59:57 2009
#
#
@ -84,7 +84,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="s390"
# CT_ARCH_64 is not set
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -100,8 +99,8 @@ CT_ARCH_SUPPORT_FPU=y
CT_ARCH_DEFAULT_32=y
# CT_ARCH_DEFAULT_64 is not set
CT_ARCH_FPU=""
CT_ARCH_32b=y
# CT_ARCH_64b is not set
CT_ARCH_32=y
# CT_ARCH_64 is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1636_2ed5947c896a
# Tue Nov 17 11:54:19 2009
# crosstool-NG version: hg_default@1638_31d022b1a0de
# Tue Nov 17 12:00:08 2009
#
#
@ -84,7 +84,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="s390"
CT_ARCH_64=y
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -100,8 +99,8 @@ CT_ARCH_SUPPORT_FPU=y
CT_ARCH_DEFAULT_32=y
# CT_ARCH_DEFAULT_64 is not set
CT_ARCH_FPU=""
# CT_ARCH_32b is not set
CT_ARCH_64b=y
# CT_ARCH_32 is not set
CT_ARCH_64=y
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -119,12 +118,6 @@ CT_TARGET_LDFLAGS=""
CT_ARCH_s390=y
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_ALPHA_EV4 is not set
# CT_ARCH_ALPHA_EV45 is not set
# CT_ARCH_ALPHA_EV5 is not set
# CT_ARCH_ALPHA_EV56 is not set
# CT_ARCH_ALPHA_EV6 is not set
# CT_ARCH_ALPHA_EV67 is not set
CT_ARCH_USE_MMU=y
#

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1635_19977a0c46c5
# Tue Nov 17 11:48:39 2009
# crosstool-NG version: hg_default@1638_23dec7e20e9a
# Tue Nov 17 22:29:25 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="x86"
CT_ARCH_64=y
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ARCH=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
# CT_ARCH_32b is not set
CT_ARCH_64b=y
# CT_ARCH_32 is not set
CT_ARCH_64=y
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -121,7 +120,6 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
CT_ARCH_x86=y
CT_ARCH_USE_MMU=y

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1635_19977a0c46c5
# Tue Nov 17 11:51:38 2009
# crosstool-NG version: hg_default@1638_23dec7e20e9a
# Tue Nov 17 22:29:32 2009
#
#
@ -86,7 +86,6 @@ CT_LOG_FILE_COMPRESS=y
# Target options
#
CT_ARCH="x86"
CT_ARCH_64=y
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
CT_ARCH_SUPPORTS_32=y
@ -104,8 +103,8 @@ CT_ARCH_DEFAULT_32=y
CT_ARCH_ARCH=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
# CT_ARCH_32b is not set
CT_ARCH_64b=y
# CT_ARCH_32 is not set
CT_ARCH_64=y
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS=""
@ -121,15 +120,8 @@ CT_TARGET_LDFLAGS=""
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_s390 is not set
# CT_ARCH_s390x is not set
# CT_ARCH_sh is not set
CT_ARCH_x86=y
# CT_ARCH_ALPHA_EV4 is not set
# CT_ARCH_ALPHA_EV45 is not set
# CT_ARCH_ALPHA_EV5 is not set
# CT_ARCH_ALPHA_EV56 is not set
# CT_ARCH_ALPHA_EV6 is not set
# CT_ARCH_ALPHA_EV67 is not set
CT_ARCH_USE_MMU=y
#