summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/mpc55xxevb/config/mpc55xx.inc')
-rw-r--r--bsps/powerpc/mpc55xxevb/config/mpc55xx.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc
new file mode 100644
index 0000000000..5b0b843ac4
--- /dev/null
+++ b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc
@@ -0,0 +1,23 @@
+##
+#
+# @file
+#
+# @ingroup mpc55xx_config
+#
+# @brief Shared configuration file for the MPC55xx board family.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = powerpc
+
+CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe
+
+# FIXME
+CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \
+ -D__ppc_generic -mstrict-align
+
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections