config/arch/powerpc-powerpc64.in-common
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 31 17:39:35 2009 +0000 (2009-01-31)
changeset 1181 2e88d85d6ffc
permissions -rw-r--r--
Add support for powerpc64, along with an EXPERIMENTAL sample.

/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 -
/trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 -
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++
/trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 +
/trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 -
/trunk/config/arch/powerpc.in | 15 0 15 0 -
/trunk/config/arch/powerpc64.in | 19 3 16 0 -
7 files changed, 400 insertions(+), 79 deletions(-)
yann@1181
     1
# powerpc and powerpc64 common options
yann@1181
     2
yann@1181
     3
if ARCH_powerpc || ARCH_powerpc64
yann@1181
     4
yann@1181
     5
config ARCH_POWERPC_SPE
yann@1181
     6
    bool
yann@1181
     7
    prompt "Enable SPE support"
yann@1181
     8
    default n
yann@1181
     9
    help
yann@1181
    10
      Add support for the Signal Processing Engine.  This will set up
yann@1181
    11
      the toolchain so that it supports the SPE ABI extensions. This
yann@1181
    12
      mainly targets Freescale e500 processors.
yann@1181
    13
yann@1181
    14
      Setting this option will append "spe" to the end of your target
yann@1181
    15
      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
yann@1181
    16
      configure/build system will know to include SPE ABI support.
yann@1181
    17
      It will also automatically add "-mabi=spe -mspe" to your
yann@1181
    18
      TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
yann@1181
    19
      so you do not need to explicitly add them.
yann@1181
    20
yann@1181
    21
endif # ARCH_powerpc || ARCH_powerpc64