summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:21 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:21 +0000
commitac730e0d25a65341b81c7fb2da4225449cacad36 (patch)
treed9467c58eb4185b53fa83df2c6cc34032edf1413 /c
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ac730e0d25a65341b81c7fb2da4225449cacad36.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/mvme162.cfg: New (relocated from /make/custom). * make/custom/mvme162lx.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg32
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg38
3 files changed, 75 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme162/ChangeLog b/c/src/lib/libbsp/m68k/mvme162/ChangeLog
index f64ae6b074..c6e5c2f29f 100644
--- a/c/src/lib/libbsp/m68k/mvme162/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mvme162/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/mvme162.cfg: New (relocated from /make/custom).
+ * make/custom/mvme162lx.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/mvme162/make/custom/mvme162.cfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg
new file mode 100644
index 0000000000..47a244dd1a
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg
@@ -0,0 +1,32 @@
+#
+# Config file for the mvme162 BSP
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+
+RTEMS_MVME162_MODEL=mvme162
+RTEMS_CPU_MODEL=m68040
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme162
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+
+CPU_CFLAGS = -mcpu=68040
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef
+
+# BSP-specific tools
+SLOAD=$(PROJECT_TOOLS)/sload
diff --git a/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg
new file mode 100644
index 0000000000..ca84859e26
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162lx.cfg
@@ -0,0 +1,38 @@
+#
+# Configuration file for a MVME162LX
+#
+# This is an MVME162 model with ...
+#
+# $Id$
+#
+
+#
+# All mvme162 configurations share the same base file, only the cpu model
+# differs.
+#
+
+RTEMS_MVME162_MODEL=mvme162lx
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=m68lc040
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme162
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=68040 -msoft-float
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef
+
+# BSP-specific tools
+SLOAD=$(PROJECT_TOOLS)/sload