summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 21:57:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 21:57:38 +0000
commit1b7363bfa7727e9872dbafafb285e29f155e8072 (patch)
tree3be5f03ce56407e94228dabb8d6d2232932809d0 /make
parentf1cf0196294588be17c628e4e87f9904a5c2a426 (diff)
downloadrtems-1b7363bfa7727e9872dbafafb285e29f155e8072.tar.bz2
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add h8sxsim BSP variant. * custom/h8sxsim.cfg: New file.
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