config/arch/powerpc.in.2
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 11 14:39:45 2012 +1000 (2012-10-11)
changeset 3094 07a87075fa2d
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
yann@520
     1
# powerpc specific configuration file
yann@628
     2
mgherzan@2675
     3
config ARCH_powerpc_ABI
mgherzan@2675
     4
    string
mgherzan@2675
     5
    default ""     if ARCH_powerpc_ABI_DEFAULT
mgherzan@2675
     6
    default "eabi" if ARCH_powerpc_ABI_EABI
mgherzan@2675
     7
    default "spe"  if ARCH_powerpc_ABI_SPE
mgherzan@2675
     8
mgherzan@2675
     9
choice
yann@1634
    10
    bool
mgherzan@2675
    11
    prompt "ABI"
mgherzan@2675
    12
    default ARCH_powerpc_ABI_DEFAULT
mgherzan@2675
    13
mgherzan@2675
    14
config ARCH_powerpc_ABI_DEFAULT
mgherzan@2675
    15
    bool
mgherzan@2675
    16
    prompt "default"
mgherzan@2675
    17
    help
mgherzan@2675
    18
      The default ABI (System V.4).
mgherzan@2675
    19
mgherzan@2675
    20
config ARCH_powerpc_ABI_EABI
mgherzan@2675
    21
    bool
mgherzan@2675
    22
    prompt "EABI"
mgherzan@2675
    23
    depends on BARE_METAL
mgherzan@2675
    24
    help
mgherzan@2675
    25
      The Embedded ABI (stack alignment of 8 bytes, etc).
mgherzan@2675
    26
mgherzan@2675
    27
config ARCH_powerpc_ABI_SPE
mgherzan@2675
    28
    bool
mgherzan@2675
    29
    prompt "SPE"
yann@1634
    30
    help
yann@1634
    31
      Add support for the Signal Processing Engine.  This will set up
yann@1634
    32
      the toolchain so that it supports the SPE ABI extensions. This
yann@1634
    33
      mainly targets Freescale e500 processors.
yann@1634
    34
      
yann@1634
    35
      Setting this option will append "spe" to the end of your target
yann@1634
    36
      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
yann@2467
    37
      configure/build system will know to include SPE ABI support. It
yann@2467
    38
      will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS,
yann@2467
    39
      and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you
yann@2467
    40
      do not need to explicitly add them.
mgherzan@2675
    41
mgherzan@2675
    42
endchoice