summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:27 +0000
commitf81f74af93afbc84bbb86856a7e073e1ea1e48da (patch)
treece66d646de449e412905c28b6ff7599b5d059557 /c/src/lib/libbsp/m68k/sim68000
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f81f74af93afbc84bbb86856a7e073e1ea1e48da.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/sim68000.cfg: New (relocated from /make/custom). * make/custom/simcpu32.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c/src/lib/libbsp/m68k/sim68000')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg25
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg25
3 files changed, 55 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/ChangeLog b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
index 6f096fc57a..963919a480 100644
--- a/c/src/lib/libbsp/m68k/sim68000/ChangeLog
+++ b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/sim68000.cfg: New (relocated from /make/custom).
+ * make/custom/simcpu32.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/sim68000/make/custom/sim68000.cfg b/c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg
new file mode 100644
index 0000000000..c226817aea
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg
@@ -0,0 +1,25 @@
+#
+# Config file for a BSVC m68k simulator
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=m68000
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=68000
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=sim68000
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef
diff --git a/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg b/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg
new file mode 100644
index 0000000000..5c0b176943
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg
@@ -0,0 +1,25 @@
+#
+# Configuration file for a simcpu32 in BSCV
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=mcpu32
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=cpu32
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=sim68000
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
+endef