summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:19 +0000
commit315c363a98ab598eeda9b0ce19d617dd4f965805 (patch)
tree171cec77cc18bd6bb5e95960e3768fd1bcbe5ccd
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-315c363a98ab598eeda9b0ce19d617dd4f965805.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mvme147s.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg30
2 files changed, 34 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme147s/ChangeLog b/c/src/lib/libbsp/m68k/mvme147s/ChangeLog
index 162ab9cf07..35bf1535fb 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mvme147s/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/mvme147s.cfg: New (relocated from /make/custom).
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg b/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg
new file mode 100644
index 0000000000..f4de0e7930
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme147s/make/custom/mvme147s.cfg
@@ -0,0 +1,30 @@
+#
+# Config file for the mvme147s BSP
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=m68030
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme147s
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=68030
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
+ sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
+ $(PACKHEX) > $(basename $@)$(DOWNEXT)
+ rm -f $(basename $@).srec
+ $(default-bsp-post-link)
+endef
+
+# Miscellaneous additions go here