summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:11:36 +0000
commit91030f6d4174761f528929fb6e5b253cc9da8ea5 (patch)
treee745e0070f7391d507d8f9b0402384943b4ea41d /c
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-91030f6d4174761f528929fb6e5b253cc9da8ea5.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mvme3100.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/make/custom/mvme3100.cfg24
2 files changed, 28 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
index 4afe4b9032..a5a0a29fd2 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/mvme3100.cfg: New (relocated from /make/custom).
+
2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/make/custom/mvme3100.cfg b/c/src/lib/libbsp/powerpc/mvme3100/make/custom/mvme3100.cfg
new file mode 100644
index 0000000000..6ba211e9df
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/mvme3100/make/custom/mvme3100.cfg
@@ -0,0 +1,24 @@
+#
+# Config file for the PowerPC 8540 based mvme3100
+#
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+RTEMS_CPU_MODEL=e500
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme3100
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef