summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/m32c/m32cbsp/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg22
2 files changed, 26 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog b/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog
index 3a889039bd..8e7a070e4b 100644
--- a/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog
+++ b/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/m32csim.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/m32c/m32cbsp/make/custom/m32csim.cfg b/c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg
new file mode 100644
index 0000000000..b768712544
--- /dev/null
+++ b/c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg
@@ -0,0 +1,22 @@
+#
+# Config file for the M32C GDB Simulator
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m32c
+RTEMS_CPU_MODEL=m32c
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=m32cbsp
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=m32cm
+
+# optimize flag: typically -O2
+# see GCC PR37665
+#CFLAGS_OPTIMIZE_V = -Os -g
+CFLAGS_OPTIMIZE_V = -O0 -g