summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/ChangeLog4
-rw-r--r--make/custom/m32csim.cfg22
2 files changed, 26 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index fa38efd760..725063e701 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * custom/m32csim.cfg: New file.
+
2008-10-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* custom/virtex.cfg: Remove -Dvirtex.
diff --git a/make/custom/m32csim.cfg b/make/custom/m32csim.cfg
new file mode 100644
index 0000000000..b768712544
--- /dev/null
+++ b/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