summaryrefslogtreecommitdiff
path: root/config/arch/powerpc.in.2
blob: 2cbc3700ecf44e97efaff92847c6add4e9dae185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# powerpc specific configuration file

config ARCH_powerpc_ABI
    string
    default ""     if ARCH_powerpc_ABI_DEFAULT
    default "eabi" if ARCH_powerpc_ABI_EABI
    default "spe"  if ARCH_powerpc_ABI_SPE

choice
    bool
    prompt "ABI"
    default ARCH_powerpc_ABI_DEFAULT

config ARCH_powerpc_ABI_DEFAULT
    bool
    prompt "default"
    help
      The default ABI (System V.4).

config ARCH_powerpc_ABI_EABI
    bool
    prompt "EABI"
    depends on BARE_METAL
    help
      The Embedded ABI (stack alignment of 8 bytes, etc).

config ARCH_powerpc_ABI_SPE
    bool
    prompt "SPE"
    help
      Add support for the Signal Processing Engine.  This will set up
      the toolchain so that it supports the SPE ABI extensions. This
      mainly targets Freescale e500 processors.
      
      Setting this option will append "spe" to the end of your target
      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
      configure/build system will know to include SPE ABI support. It
      will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS,
      and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you
      do not need to explicitly add them.

endchoice