summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-03 12:30:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-03 12:30:58 (GMT)
commit50ea3b751de4c94606bebc56a385324f130c33a8 (patch)
tree61e455f065ecc300533d36748f1b264b4efd29da /arch
parent601ec482e1a8b8952a42fe01877053e286b10a99 (diff)
Second shot at moving arch/ into config/arch/ .
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/config.in62
-rw-r--r--arch/alpha/functions9
-rw-r--r--arch/arm/config.in26
-rw-r--r--arch/arm/functions17
-rw-r--r--arch/ia64/config.in8
-rw-r--r--arch/ia64/functions6
-rw-r--r--arch/mips/config.in11
-rw-r--r--arch/mips/functions12
-rw-r--r--arch/powerpc/config.in25
-rw-r--r--arch/powerpc/functions22
-rw-r--r--arch/sh/config.in33
-rw-r--r--arch/sh/functions32
-rw-r--r--arch/x86/config.in9
-rw-r--r--arch/x86/functions22
-rw-r--r--arch/x86_64/config.in9
-rw-r--r--arch/x86_64/functions6
16 files changed, 0 insertions, 309 deletions
diff --git a/arch/alpha/config.in b/arch/alpha/config.in
deleted file mode 100644
index cf8157a..0000000
--- a/arch/alpha/config.in
+++ /dev/null
@@ -1,62 +0,0 @@
-# Alpha specific configuration file
-
-config ARCH_alpha
- select ARCH_SUPPORT_CPU
- select ARCH_SUPPORT_TUNE
- help
- The Alpha architecture.
-
-choice
- bool
- prompt "Variant"
-
-config ARCH_ALPHA_EV4
- bool
- prompt "EV4"
-
-config ARCH_ALPHA_EV45
- bool
- prompt "EV45"
-
-config ARCH_ALPHA_EV5
- bool
- prompt "EV5"
-
-config ARCH_ALPHA_EV56
- bool
- prompt "EV56"
-
-config ARCH_ALPHA_EV6
- bool
- prompt "EV6"
-
-config ARCH_ALPHA_EV67
- bool
- prompt "EV67"
-
-endchoice
-
-config ARCH_ALPHA_VARIANT
- string
- default "ev4" if ARCH_ALPHA_EV4
- default "ev45" if ARCH_ALPHA_EV45
- default "ev5" if ARCH_ALPHA_EV5
- default "ev56" if ARCH_ALPHA_EV56
- default "ev6" if ARCH_ALPHA_EV6
- default "ev67" if ARCH_ALPHA_EV67
-
-config ARCH_CPU
- default "ev4" if ARCH_ALPHA_EV4
- default "ev45" if ARCH_ALPHA_EV45
- default "ev5" if ARCH_ALPHA_EV5
- default "ev56" if ARCH_ALPHA_EV56
- default "ev6" if ARCH_ALPHA_EV6
- default "ev67" if ARCH_ALPHA_EV67
-
-config ARCH_TUNE
- default "ev4" if ARCH_ALPHA_EV4
- default "ev45" if ARCH_ALPHA_EV45
- default "ev5" if ARCH_ALPHA_EV5
- default "ev56" if ARCH_ALPHA_EV56
- default "ev6" if ARCH_ALPHA_EV6
- default "ev67" if ARCH_ALPHA_EV67
diff --git a/arch/alpha/functions b/arch/alpha/functions
deleted file mode 100644
index ea8ef53..0000000
--- a/arch/alpha/functions
+++ /dev/null
@@ -1,9 +0,0 @@
-# Compute Alpha-specific values
-
-CT_DoArchValues () {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}"
-
- # The kernel ARCH:
- CT_KERNEL_ARCH=${CT_ARCH}
-}
diff --git a/arch/arm/config.in b/arch/arm/config.in
deleted file mode 100644
index a3c3d97..0000000
--- a/arch/arm/config.in
+++ /dev/null
@@ -1,26 +0,0 @@
-# ARM specific configuration file
-
-config ARCH_arm
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_LE
- select ARCH_SUPPORT_ARCH
- select ARCH_SUPPORT_CPU
- select ARCH_SUPPORT_TUNE
- select ARCH_SUPPORT_FPU
- help
- The ARM architecture, as defined by:
- http://www.arm.com/
-
-config ARCH_ARM_EABI
- bool
- prompt "Use EABI"
- default n
- help
- Set up the toolchain so that it generates EABI-compliant binaries.
-
-config ARCH_ARM_ABI_OK
- bool
- default y
- depends on ! ARCH_ARM_EABI
- select ARCH_SUPPORT_ABI
-
diff --git a/arch/arm/functions b/arch/arm/functions
deleted file mode 100644
index a1b8542..0000000
--- a/arch/arm/functions
+++ /dev/null
@@ -1,17 +0,0 @@
-# Compute ARM-specific values
-
-CT_DoArchValues() {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
-
- # The system part of the tuple:
- case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
- *glibc,y) CT_TARGET_SYS=gnueabi;;
- uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
- none,y) CT_TARGET_SYS=eabi;;
- esac
-
- # In case we're EABI, do *not* specify any ABI!
- # which means, either we do not have an ABI specified, or we're not EABI.
- CT_TestOrAbort "Internal error: CT_ARCH_ABI should not be set for EABI build." -z "${CT_ARCH_ABI}" -o -z "${CT_ARCH_ARM_EABI}"
-}
diff --git a/arch/ia64/config.in b/arch/ia64/config.in
deleted file mode 100644
index ad0d9fd..0000000
--- a/arch/ia64/config.in
+++ /dev/null
@@ -1,8 +0,0 @@
-# ia64 specific config options
-# EXPERIMENTAL
-
-config ARCH_ia64
- select ARCH_SUPPORTS_BOTH_ENDIAN
- help
- The ia64 architecture, as defined by:
- http://www.intel.com/design/itanium/arch_spec.htm
diff --git a/arch/ia64/functions b/arch/ia64/functions
deleted file mode 100644
index 76f34dd..0000000
--- a/arch/ia64/functions
+++ /dev/null
@@ -1,6 +0,0 @@
-# Compute IA-64-specific values
-
-CT_DoArchValues() {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}"
-}
diff --git a/arch/mips/config.in b/arch/mips/config.in
deleted file mode 100644
index 0f91e83..0000000
--- a/arch/mips/config.in
+++ /dev/null
@@ -1,11 +0,0 @@
-# MIPS specific config options
-
-config ARCH_mips
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_BE
- select ARCH_SUPPORT_ARCH
- select ARCH_SUPPORT_ABI
- select ARCH_SUPPORT_TUNE
- help
- The MIPS architecture, as defined by:
- http://www.mips.com/
diff --git a/arch/mips/functions b/arch/mips/functions
deleted file mode 100644
index 4bf0501..0000000
--- a/arch/mips/functions
+++ /dev/null
@@ -1,12 +0,0 @@
-# Compute IA-64-specific values
-
-CT_DoArchValues() {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
-
- # Override CFLAGS for endianness:
- case "${CT_ARCH_BE},${CT_ARCH_LE}" in
- y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
- ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
- esac
-}
diff --git a/arch/powerpc/config.in b/arch/powerpc/config.in
deleted file mode 100644
index 448065a..0000000
--- a/arch/powerpc/config.in
+++ /dev/null
@@ -1,25 +0,0 @@
-# powerpc specific configuration file
-
-config ARCH_powerpc
- select ARCH_SUPPORT_ABI
- select ARCH_SUPPORT_CPU
- select ARCH_SUPPORT_TUNE
- help
- The PowerPC architecture, as defined by:
- http://www.ibm.com/developerworks/eserver/articles/archguide.html
-
-config ARCH_POWERPC_SPE
- bool
- prompt "Enable SPE support"
- default n
- help
- Add support for the Signal Processing Engine. This will set up
- the toolchain so that it supports the SPE ABI extensions. This
- mainly targets Freescale e500 processors.
-
- Setting this option will append "spe" to the end of your target
- tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
- configure/build system will know to include SPE ABI support.
- It will also automatically add "-mabi=spe -mspe" to your
- TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
- so you do not need to explicitly add them.
diff --git a/arch/powerpc/functions b/arch/powerpc/functions
deleted file mode 100644
index 94ad11c..0000000
--- a/arch/powerpc/functions
+++ /dev/null
@@ -1,22 +0,0 @@
-# Compute powerpc-specific values
-
-CT_DoArchValues () {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}"
-
- # The kernel ARCH:
- CT_KERNEL_ARCH=powerpc
-
- # Add spe in the tuplet if needed
- case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
- glibc,|eglibc,) CT_TARGET_SYS=gnu;;
- glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
- esac
-
- # Add extra flags for SPE if needed
- if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
- CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
- CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
- CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
- fi
-}
diff --git a/arch/sh/config.in b/arch/sh/config.in
deleted file mode 100644
index b21ee1b..0000000
--- a/arch/sh/config.in
+++ /dev/null
@@ -1,33 +0,0 @@
-# Super-H specific configuration file
-# EXPERIMENTAL
-
-config ARCH_sh
- select ARCH_SUPPORTS_BOTH_ENDIAN
- select ARCH_DEFAULT_LE
- help
- The Super-H architecture, as defined by:
- http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
-
-choice
- bool
- prompt "Variant"
-
-config ARCH_SH_SH3
- bool
- prompt "sh3"
-
-config ARCH_SH_SH4
- bool
- prompt "sh4"
-
-config ARCH_SH_SH4A
- bool
- prompt "sh4a"
-
-endchoice
-
-config ARCH_SH_VARIANT
- string
- default "sh3" if ARCH_SH_SH3
- default "sh4" if ARCH_SH_SH4
- default "sh4a" if ARCH_SH_SH4A
diff --git a/arch/sh/functions b/arch/sh/functions
deleted file mode 100644
index b6dbc02..0000000
--- a/arch/sh/functions
+++ /dev/null
@@ -1,32 +0,0 @@
-# Compute sh-specific values
-
-CT_DoArchValues () {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH_SH_VARIANT}${target_endian_eb}"
-
- # gcc ./configure flags
- CT_ARCH_WITH_ARCH=
- CT_ARCH_WITH_ABI=
- CT_ARCH_WITH_CPU=
- CT_ARCH_WITH_TUNE=
- CT_ARCH_WITH_FPU=
- CT_ARCH_WITH_FLOAT=
-
- # Endianness stuff
- case "${CT_ARCH_BE},${CT_ARCH_LE}" in
- y,) CT_ARCH_ENDIAN_CFLAG=-mb;;
- ,y) CT_ARCH_ENDIAN_CFLAG=-ml;;
- esac
-
- # CFLAGS
- case "${CT_ARCH_SH_VARIENT}" in
- sh3) CT_ARCH_ARCH_CFLAG=-m3;;
- sh4*)
- case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
- y,) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}";;
- ,y) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}-nofpu";;
- esac
- ;;
- esac
- CT_ARCH_FLOAT_CFLAG=
-}
diff --git a/arch/x86/config.in b/arch/x86/config.in
deleted file mode 100644
index 4a5c2f8..0000000
--- a/arch/x86/config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-# x86 specific options
-
-config ARCH_x86
- select ARCH_SUPPORT_ARCH
- select ARCH_SUPPORT_CPU
- select ARCH_SUPPORT_TUNE
- help
- The x86 architecture, as defined by:
- http://www.intel.com/
diff --git a/arch/x86/functions b/arch/x86/functions
deleted file mode 100644
index ae67692..0000000
--- a/arch/x86/functions
+++ /dev/null
@@ -1,22 +0,0 @@
-# Compute x86-specific values
-
-# This one really need a little love! :-(
-
-CT_DoArchValues() {
- # The architecture part of the tuple:
- arch="${CT_ARCH_ARCH}"
- [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
- case "${arch}" in
- nocona|athlon*64|k8|athlon-fx|opteron)
- CT_DoError "Architecture is x86 (32-bit) but selected processor is \"${arch}\" (64-bit)";;
- "") CT_TARGET_ARCH=i386;;
- i386|i486|i586|i686) CT_TARGET_ARCH="${arch}";;
- winchip*) CT_TARGET_ARCH=i486;;
- pentium|pentium-mmx|c3*) CT_TARGET_ARCH=i586;;
- pentiumpro|pentium*|athlon*) CT_TARGET_ARCH=i686;;
- *) CT_TARGET_ARCH=i586;;
- esac
-
- # The kernel ARCH:
- CT_KERNEL_ARCH=i386
-}
diff --git a/arch/x86_64/config.in b/arch/x86_64/config.in
deleted file mode 100644
index 83b6e83..0000000
--- a/arch/x86_64/config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-# x86_64 specific options
-
-config ARCH_x86_64
- select ARCH_SUPPORT_ARCH
- select ARCH_SUPPORT_CPU
- select ARCH_SUPPORT_TUNE
- help
- The x86_64 architecture, as defined by:
- http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html
diff --git a/arch/x86_64/functions b/arch/x86_64/functions
deleted file mode 100644
index 2626abf..0000000
--- a/arch/x86_64/functions
+++ /dev/null
@@ -1,6 +0,0 @@
-# Compute x86_64-specific values
-
-CT_DoArchValues() {
- # The architecture part of the tuple:
- CT_TARGET_ARCH="${CT_ARCH}"
-}