diff -r d1a8c2ae7946 -r 1eea25c0bfe7 config/arch/powerpc.in.2 --- a/config/arch/powerpc.in.2 Tue May 31 16:27:39 2011 +0200 +++ b/config/arch/powerpc.in.2 Mon May 26 23:25:17 2014 +0200 @@ -1,8 +1,32 @@ # powerpc specific configuration file -config ARCH_POWERPC_SPE +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 "Enable SPE support" + 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 @@ -14,3 +38,5 @@ 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