summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg')
-rw-r--r--c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg22
1 files changed, 22 insertions, 0 deletions
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