summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg
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/make/custom/simcpu32.cfg
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 '')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg25
1 files changed, 25 insertions, 0 deletions
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