summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-26 19:49:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-26 19:49:03 +0000
commitcff0d6424e81c76b91ecdb04a2f1897a9247b83a (patch)
treeed93ae1a0098e1484c20256de0b1a8a85f40ee76 /c/src/lib
parent2001-10-26 Victor V. Vengerov <vvv@oktet.ru> (diff)
downloadrtems-cff0d6424e81c76b91ecdb04a2f1897a9247b83a.tar.bz2
2001-10-26 Victor V. Vengerov <vvv@oktet.ru>
* New libcpu support for mcf5206e. * ChangeLog, clock/ckinit.c, clock/.cvsignore, configure.ac, console/mcfuart.c, console/.cvsignore, include/mcf5206e.h, include/mcfmbus.h, include/mcfuart.h, include/.cvsignore, mbus/mcfmbus.c, mbus/.cvsignore, timer/timer.c, timer/timerisr.S, timer/.cvsignore, .cvsignore: New files.
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/Makefile.am12
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/clock/Makefile.am33
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/console/Makefile.am31
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/include/Makefile.am24
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/mbus/Makefile.am33
-rw-r--r--c/src/lib/libcpu/m68k/mcf5206/timer/Makefile.am35
6 files changed, 168 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/m68k/mcf5206/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/Makefile.am
new file mode 100644
index 0000000000..42d0f9aa3b
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/Makefile.am
@@ -0,0 +1,12 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
+
+SUBDIRS = include clock console mbus timer
+
+include $(top_srcdir)/../../../../../../automake/subdirs.am
+include $(top_srcdir)/../../../../../../automake/local.am
+
diff --git a/c/src/lib/libcpu/m68k/mcf5206/clock/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/clock/Makefile.am
new file mode 100644
index 0000000000..39b19b838d
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/clock/Makefile.am
@@ -0,0 +1,33 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+PGM = $(ARCH)/clock.rel
+
+C_FILES = ckinit.c
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
+
+OBJS = $(C_O_FILES)
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../../../../automake/compile.am
+include $(top_srcdir)/../../../../../../automake/lib.am
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+$(PGM): $(OBJS)
+ $(make-rel)
+
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+
+all: $(ARCH) $(OBJS) $(PGM)
+
+.PRECIOUS: $(PGM)
+
+EXTRA_DIST = $(C_FILES)
+
+include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/m68k/mcf5206/console/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/console/Makefile.am
new file mode 100644
index 0000000000..f17efa82f8
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/console/Makefile.am
@@ -0,0 +1,31 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+PGM = $(ARCH)/console.rel
+
+C_FILES = mcfuart.c
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
+
+OBJS = $(C_O_FILES)
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../../../../automake/compile.am
+include $(top_srcdir)/../../../../../../automake/lib.am
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+$(PGM): $(OBJS)
+ $(make-rel)
+
+all-local: $(ARCH) $(OBJS) $(PGM)
+
+.PRECIOUS: $(PGM)
+
+EXTRA_DIST = $(C_FILES)
+
+include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/m68k/mcf5206/include/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/include/Makefile.am
new file mode 100644
index 0000000000..979dd98885
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/include/Makefile.am
@@ -0,0 +1,24 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+include_mcf5206dir = $(includedir)/mcf5206
+
+include_mcf5206_HEADERS = mcf5206e.h mcfmbus.h mcfuart.h
+
+$(PROJECT_INCLUDE)/mcf5206:
+ $(mkinstalldirs) $@
+
+$(PROJECT_INCLUDE)/mcf5206/%.h: %.h
+ $(INSTALL_DATA) $< $@
+
+TMPINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206 \
+ $(include_mcf5206_HEADERS:%=$(PROJECT_INCLUDE)/mcf5206/%)
+
+all-local: $(TMPINSTALL_FILES)
+
+EXTRA_DIST = $(include_mcf5206_HEADERS)
+
+include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/m68k/mcf5206/mbus/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/mbus/Makefile.am
new file mode 100644
index 0000000000..e0b4b21cb0
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/mbus/Makefile.am
@@ -0,0 +1,33 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+PGM = $(ARCH)/mbus.rel
+
+C_FILES = mcfmbus.c
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
+
+OBJS = $(C_O_FILES)
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../../../../automake/compile.am
+include $(top_srcdir)/../../../../../../automake/lib.am
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+$(PGM): $(OBJS)
+ $(make-rel)
+
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+
+all: $(ARCH) $(OBJS) $(PGM)
+
+.PRECIOUS: $(PGM)
+
+EXTRA_DIST = $(C_FILES)
+
+include $(top_srcdir)/../../../../../../automake/local.am
diff --git a/c/src/lib/libcpu/m68k/mcf5206/timer/Makefile.am b/c/src/lib/libcpu/m68k/mcf5206/timer/Makefile.am
new file mode 100644
index 0000000000..e260c17505
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/mcf5206/timer/Makefile.am
@@ -0,0 +1,35 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+PGM = $(ARCH)/timer.rel
+
+C_FILES = timer.c
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
+S_FILES = timerisr.S
+S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
+
+OBJS = $(C_O_FILES) $(S_O_FILES)
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../../../../automake/compile.am
+include $(top_srcdir)/../../../../../../automake/lib.am
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+$(PGM): $(OBJS)
+ $(make-rel)
+
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+
+all: $(ARCH) $(OBJS) $(PGM)
+
+.PRECIOUS: $(PGM)
+
+EXTRA_DIST = $(C_FILES)
+
+include $(top_srcdir)/../../../../../../automake/local.am