config/arch/powerpc.in.2
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
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