yann@520: # powerpc specific configuration file yann@628: mgherzan@2675: config ARCH_powerpc_ABI mgherzan@2675: string mgherzan@2675: default "" if ARCH_powerpc_ABI_DEFAULT mgherzan@2675: default "eabi" if ARCH_powerpc_ABI_EABI mgherzan@2675: default "spe" if ARCH_powerpc_ABI_SPE mgherzan@2675: mgherzan@2675: choice yann@1634: bool mgherzan@2675: prompt "ABI" mgherzan@2675: default ARCH_powerpc_ABI_DEFAULT mgherzan@2675: mgherzan@2675: config ARCH_powerpc_ABI_DEFAULT mgherzan@2675: bool mgherzan@2675: prompt "default" mgherzan@2675: help mgherzan@2675: The default ABI (System V.4). mgherzan@2675: mgherzan@2675: config ARCH_powerpc_ABI_EABI mgherzan@2675: bool mgherzan@2675: prompt "EABI" mgherzan@2675: depends on BARE_METAL mgherzan@2675: help mgherzan@2675: The Embedded ABI (stack alignment of 8 bytes, etc). mgherzan@2675: mgherzan@2675: config ARCH_powerpc_ABI_SPE mgherzan@2675: bool mgherzan@2675: prompt "SPE" yann@1634: help yann@1634: Add support for the Signal Processing Engine. This will set up yann@1634: the toolchain so that it supports the SPE ABI extensions. This yann@1634: mainly targets Freescale e500 processors. yann@1634: yann@1634: Setting this option will append "spe" to the end of your target yann@1634: tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc yann@2467: configure/build system will know to include SPE ABI support. It yann@2467: will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS, yann@2467: and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you yann@2467: do not need to explicitly add them. mgherzan@2675: mgherzan@2675: endchoice