summaryrefslogtreecommitdiffstats
path: root/make
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
parent0c34b176502eada476f0a9f9b3aeee346fbff9fd (diff)
downloadrtems-d92d42e9cb90b10ba238afabee36c3e3b207e092.tar.bz2
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/m32csim.cfg: New file.
Diffstat (limited to 'make')
-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