summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 06:05:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 06:05:39 +0000
commitb687181d2597e4296d7fb986597e30fc0be6308d (patch)
tree54ca89ca81bea8fd779b0e650fc78208cd9fae18
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b687181d2597e4296d7fb986597e30fc0be6308d.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/h8sim.cfg: New (relocated from /make/custom). * make/custom/h8sxsim.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/ChangeLog5
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg21
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg21
3 files changed, 47 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
index 23b663d2ee..91971244cb 100644
--- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog
+++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/h8sim.cfg: New (relocated from /make/custom).
+ * make/custom/h8sxsim.cfg: New (relocated from /make/custom).
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg b/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg
new file mode 100644
index 0000000000..aef9ddc6e9
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sim.cfg
@@ -0,0 +1,21 @@
+#
+# Config file for the H8 simulator in gdb
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=h8300
+RTEMS_CPU_MODEL=h8300h
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=h8sim
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mh -mint32
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg b/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg
new file mode 100644
index 0000000000..b242b67d66
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/make/custom/h8sxsim.cfg
@@ -0,0 +1,21 @@
+#
+# Config file for the H8 simulator in gdb compiled for SX
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=h8300
+RTEMS_CPU_MODEL=h8300h
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=h8sim
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -msx
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -Os -g