summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-31 17:39:35 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-31 17:39:35 (GMT)
commit94e376af7728839c40192d5a02abbeb638dc36f1 (patch)
tree9f29876a8e9fc2ea2c54659c8f3826b130182fff /config
parent04fa7e056926627f982f30e3ac9e90fb849f5224 (diff)
Add support for powerpc64, along with an EXPERIMENTAL sample.
/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 - /trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 - /trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++ /trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 + /trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 - /trunk/config/arch/powerpc.in | 15 0 15 0 - /trunk/config/arch/powerpc64.in | 19 3 16 0 - 7 files changed, 400 insertions(+), 79 deletions(-)
Diffstat (limited to 'config')
-rw-r--r--config/arch/powerpc-powerpc64.in-common21
-rw-r--r--config/arch/powerpc.in15
-rw-r--r--config/arch/powerpc64.in12
3 files changed, 33 insertions, 15 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
diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in
index 448065a..07d1672 100644
--- a/config/arch/powerpc.in
+++ b/config/arch/powerpc.in
@@ -8,18 +8,3 @@ config ARCH_powerpc
The PowerPC architecture, as defined by:
http://www.ibm.com/developerworks/eserver/articles/archguide.html
-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.
diff --git a/config/arch/powerpc64.in b/config/arch/powerpc64.in
new file mode 100644
index 0000000..7b5a62e
--- /dev/null
+++ b/config/arch/powerpc64.in
@@ -0,0 +1,12 @@
+# powerpc specific configuration file
+# EXPERIMENTAL
+
+config ARCH_powerpc64
+ select ARCH_64
+ select ARCH_SUPPORT_ABI
+ select ARCH_SUPPORT_CPU
+ select ARCH_SUPPORT_TUNE
+ help
+ The PowerPC architecture, as defined by:
+ http://www.ibm.com/developerworks/eserver/articles/archguide.html
+