summaryrefslogtreecommitdiffstats
path: root/make/custom/m32csim.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:34:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:34:05 +0000
commitd92d42e9cb90b10ba238afabee36c3e3b207e092 (patch)
treef1b28d1eccf4e968592969fb2318b4891c545789 /make/custom/m32csim.cfg
parent2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d92d42e9cb90b10ba238afabee36c3e3b207e092.tar.bz2
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/m32csim.cfg: New file.
Diffstat (limited to '')
-rw-r--r--make/custom/m32csim.cfg22
1 files changed, 22 insertions, 0 deletions
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