summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/ChangeLog5
-rw-r--r--make/Makefile.am2
-rw-r--r--make/custom/h8sxsim.cfg21
3 files changed, 27 insertions, 1 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index e4423405cb..b943a5425e 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am: Add h8sxsim BSP variant.
+ * custom/h8sxsim.cfg: New file.
+
2008-10-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
* custom/mpc55xx.cfg: Added -msoft-float and removed -funit-at-a-time
diff --git a/make/Makefile.am b/make/Makefile.am
index d6ac90ee5a..660c50efbb 100644
--- a/make/Makefile.am
+++ b/make/Makefile.am
@@ -24,7 +24,7 @@ EXTRA_DIST += custom/Cygwin-posix.cfg custom/FreeBSD-posix.cfg \
custom/HPUX9-posix.cfg custom/Linux-posix.cfg custom/Solaris-posix.cfg \
custom/bare.cfg custom/ep1a.cfg custom/erc32.cfg custom/gen68302.cfg \
custom/gen68340.cfg custom/gen68360.cfg custom/gen68360_040.cfg \
- custom/uC5282.cfg custom/gba.cfg \
+ custom/h8sim.cfg custom/h8sxsim.cfg custom/uC5282.cfg custom/gba.cfg \
custom/gensh1.cfg custom/helas403.cfg custom/i386ex.cfg custom/idp.cfg \
custom/jmr3904.cfg custom/leon2.cfg custom/mcp750.cfg \
custom/mvme136.cfg custom/mvme147.cfg custom/mvme147s.cfg \
diff --git a/make/custom/h8sxsim.cfg b/make/custom/h8sxsim.cfg
new file mode 100644
index 0000000000..30db4c1e9a
--- /dev/null
+++ b/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 = -O2 -g