summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/h8300/h8sim/wrapup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:07:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:07:34 +0000
commit501d312a91f66a56f4958f399d9fe30465a86437 (patch)
tree275d5093b512a8a751efff5f79f0184da243fbd7 /c/src/lib/libbsp/h8300/h8sim/wrapup
parentAdded missing #endif's. (diff)
downloadrtems-501d312a91f66a56f4958f399d9fe30465a86437.tar.bz2
Added baseline for h8 simulator BSP to support the simulator in gdb 5.0
Diffstat (limited to 'c/src/lib/libbsp/h8300/h8sim/wrapup')
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/wrapup/.cvsignore2
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/wrapup/Makefile.am32
2 files changed, 34 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/wrapup/.cvsignore b/c/src/lib/libbsp/h8300/h8sim/wrapup/.cvsignore
new file mode 100644
index 0000000000..282522db03
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/wrapup/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/c/src/lib/libbsp/h8300/h8sim/wrapup/Makefile.am b/c/src/lib/libbsp/h8300/h8sim/wrapup/Makefile.am
new file mode 100644
index 0000000000..613305a13e
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/wrapup/Makefile.am
@@ -0,0 +1,32 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+BSP_FILES = startup console
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../../../../automake/lib.am
+
+# bummer; have to use $foreach since % pattern subst rules only replace 1x
+OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
+ $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
+
+LIB = $(ARCH)/libbsp.a
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+$(LIB): ${OBJS}
+ $(make-library)
+
+$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
+ $(INSTALL_DATA) $< $@
+
+TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
+
+all-local: ${ARCH} $(TMPINSTALL_FILES)
+
+include $(top_srcdir)/../../../../../../automake/local.am