summaryrefslogtreecommitdiffstats
path: root/make/custom/simsh2.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-25 19:34:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-25 19:34:21 +0000
commitab7cf7ed7eb9220a230b997436553e431473c5d3 (patch)
tree8601903d3cb77285493966c47ac85c95e5ca475d /make/custom/simsh2.cfg
parent2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ab7cf7ed7eb9220a230b997436553e431473c5d3.tar.bz2
2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, custom/simsh4.cfg: Recognize the the GDB SuperH simulator is just an architectural simulator and does not include devices. Rename existing simulator BSP configurations to simsh1 and simsh2 and add simsh4. * custom/simsh1.cfg, custom/simsh2.cfg: New files. * custom/shsim.cfg, custom/simsh7032.cfg, custom/simsh7045.cfg: Removed.
Diffstat (limited to 'make/custom/simsh2.cfg')
-rw-r--r--make/custom/simsh2.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/make/custom/simsh2.cfg b/make/custom/simsh2.cfg
new file mode 100644
index 0000000000..26a441c8ce
--- /dev/null
+++ b/make/custom/simsh2.cfg
@@ -0,0 +1,23 @@
+#
+# simsh2.cfg
+#
+# default configuration for gdb-simulation of Hitachi sh2 processors
+#
+# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/shsim.cfg
+
+RTEMS_CPU=sh
+RTEMS_CPU_MODEL=shgdb
+
+#
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -m2
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g