[rtems commit] bsps/powerpc: Use explicit compiler options

Sebastian Huber sebh at rtems.org
Fri Dec 7 09:32:22 UTC 2012


Module:    rtems
Branch:    master
Commit:    80232ee7a46701e90241d1164578954446848961
Changeset: http://git.rtems.org/rtems/commit/?id=80232ee7a46701e90241d1164578954446848961

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Dec  7 09:50:27 2012 +0100

bsps/powerpc: Use explicit compiler options

---

 .../mpc55xxevb/make/custom/mpc5566evb_spe.cfg      |    4 +---
 .../powerpc/mpc55xxevb/make/custom/mpc55xx_spe.inc |    3 +++
 .../mpc55xxevb/make/custom/mpc5674f_ecu508_app.cfg |    4 +---
 .../make/custom/mpc5674f_ecu508_boot.cfg           |    4 +---
 .../make/custom/mpc5674f_rsm6_koma_app.cfg         |    4 +---
 .../make/custom/mpc5674f_rsm6_koma_boot.cfg        |    4 +---
 .../make/custom/mpc5674f_rsm6_moma_app.cfg         |    4 +---
 .../make/custom/mpc5674f_rsm6_moma_boot.cfg        |    4 +---
 .../mpc55xxevb/make/custom/mpc5674fevb_spe.cfg     |    4 +---
 .../mpc55xxevb/make/custom/phycore_mpc5554.cfg     |   15 +--------------
 .../lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc |    3 ++-
 11 files changed, 14 insertions(+), 39 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5566evb_spe.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5566evb_spe.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5566evb_spe.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5566evb_spe.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx_spe.inc b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx_spe.inc
new file mode 100644
index 0000000..fa69d09
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc55xx_spe.inc
@@ -0,0 +1,3 @@
+CPU_CFLAGS_FLOAT ?= -mspe -mabi=spe -mfloat-gprs=single
+
+include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_app.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_app.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_app.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_app.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_boot.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_boot.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_boot.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_ecu508_boot.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_app.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_app.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_app.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_app.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_boot.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_boot.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_boot.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_koma_boot.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_app.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_app.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_app.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_app.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_boot.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_boot.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_boot.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674f_rsm6_moma_boot.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674fevb_spe.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674fevb_spe.cfg
index 28cf413..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674fevb_spe.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/mpc5674fevb_spe.cfg
@@ -1,3 +1 @@
-CPU_CFLAGS_FLOAT ?= -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg
index 886697e..b0feb2e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg
@@ -1,14 +1 @@
-##
-#
-# @file
-#
-# @ingroup mpc55xx_config
-#
-# @brief configuration file for the Phytec PhyCORE MPC5554
-#
-
-RTEMS_LINKCMDS=linkcmds.phycore_mpc5554
-
-CPU_CFLAGS_FLOAT?=-mfloat-gprs=single -mspe
-
-include $(RTEMS_ROOT)/make/custom/mpc55xx.inc
+include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
index fb401f7..8995eec 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
@@ -8,7 +8,8 @@ RTEMS_CPU = powerpc
 
 RTEMS_CPU_MODEL = qoriq
 
-CPU_CFLAGS = -mcpu=8540 -meabi -msdata -fno-common -mfloat-gprs=double -mstrict-align \
+CPU_CFLAGS = -mcpu=8540 -meabi -msdata -fno-common -mstrict-align \
+	-mspe -mabi=spe -mfloat-gprs=double \
 	-D__ppc_generic
 
 CFLAGS_OPTIMIZE_V = -Os -g




More information about the vc mailing list