config/arch/powerpc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1345 27fec561af53
child 2112 0b83ab44a914
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
yann@520
     1
# powerpc specific configuration file
yann@628
     2
yann@628
     3
config ARCH_powerpc
yann@1634
     4
    select ARCH_SUPPORTS_32
yann@1634
     5
    select ARCH_SUPPORTS_64 if EXPERIMENTAL
yann@1634
     6
    select ARCH_DEFAULT_32
yann@1345
     7
    select ARCH_USE_MMU
yann@631
     8
    select ARCH_SUPPORT_ABI
yann@631
     9
    select ARCH_SUPPORT_CPU
yann@631
    10
    select ARCH_SUPPORT_TUNE
yann@630
    11
    help
yann@630
    12
      The PowerPC architecture, as defined by:
yann@630
    13
        http://www.ibm.com/developerworks/eserver/articles/archguide.html
yann@792
    14
yann@1634
    15
config ARCH_POWERPC_SPE
yann@1634
    16
    bool
yann@1634
    17
    prompt "Enable SPE support"
yann@1634
    18
    default n
yann@1634
    19
    help
yann@1634
    20
      Add support for the Signal Processing Engine.  This will set up
yann@1634
    21
      the toolchain so that it supports the SPE ABI extensions. This
yann@1634
    22
      mainly targets Freescale e500 processors.
yann@1634
    23
      
yann@1634
    24
      Setting this option will append "spe" to the end of your target
yann@1634
    25
      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
yann@1634
    26
      configure/build system will know to include SPE ABI support.
yann@1634
    27
      It will also automatically add "-mabi=spe -mspe" to your
yann@1634
    28
      TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
yann@1634
    29
      so you do not need to explicitly add them.