summaryrefslogtreecommitdiff
path: root/config/arch/powerpc-powerpc64.in-common
diff options
context:
space:
mode:
Diffstat (limited to 'config/arch/powerpc-powerpc64.in-common')
-rw-r--r--config/arch/powerpc-powerpc64.in-common21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/arch/powerpc-powerpc64.in-common b/config/arch/powerpc-powerpc64.in-common
new file mode 100644
index 0000000..95f2859
--- /dev/null
+++ b/config/arch/powerpc-powerpc64.in-common
@@ -0,0 +1,21 @@
+# powerpc and powerpc64 common options
+
+if ARCH_powerpc || ARCH_powerpc64
+
+config ARCH_POWERPC_SPE
+ bool
+ prompt "Enable SPE support"
+ default n
+ 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,
+ so you do not need to explicitly add them.
+
+endif # ARCH_powerpc || ARCH_powerpc64