config/arch/powerpc.in.2
author Titus von Boxberg <titus@v9g.de>
Tue Nov 06 17:02:06 2012 +0100 (2012-11-06)
changeset 3103 a8bf927f6e37
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
Makefile.in: Use only standard options compatible with BSD install

Don't use options specific to FSF's coreutils install.

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan>
Patchwork-Id: 197532
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