summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/mvme5500/config/mvme5500.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/mvme5500/config/mvme5500.cfg')
-rw-r--r--bsps/powerpc/mvme5500/config/mvme5500.cfg28
1 files changed, 28 insertions, 0 deletions
diff --git a/bsps/powerpc/mvme5500/config/mvme5500.cfg b/bsps/powerpc/mvme5500/config/mvme5500.cfg
new file mode 100644
index 0000000000..6a0fceabe7
--- /dev/null
+++ b/bsps/powerpc/mvme5500/config/mvme5500.cfg
@@ -0,0 +1,28 @@
+#
+# Config file for the PowerPC 7455 based mvme5500
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme5500
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
+endef
+
+#
+START_BASE=mvme5500start