summaryrefslogtreecommitdiff
path: root/arch/powerpc
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/powerpc
parent601ec482e1a8b8952a42fe01877053e286b10a99 (diff)
Second shot at moving arch/ into config/arch/ .
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/config.in25
-rw-r--r--arch/powerpc/functions22
2 files changed, 0 insertions, 47 deletions
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
-}