2001-10-17 Joel Sherrill <joel@OARcorp.com>

* timer: New subdirectory.
	* timer/Makefile.am: New file.
	* timer/.cvsignore: New file.
	* Makefile.am: Modified to reflect above.
	* configure.ac: Ditto.
	* wrapup/Makefile.am: Ditto.
	* include/bsp.h: Stubs to let tm27 compile and link.
This commit is contained in:
Joel Sherrill
2001-10-17 20:26:14 +00:00
parent efb5450a87
commit 606d797c89
14 changed files with 134 additions and 4 deletions

View File

@@ -1,3 +1,13 @@
2001-10-17 Joel Sherrill <joel@OARcorp.com>
* timer: New subdirectory.
* timer/Makefile.am: New file.
* timer/.cvsignore: New file.
* Makefile.am: Modified to reflect above.
* configure.ac: Ditto.
* wrapup/Makefile.am: Ditto.
* include/bsp.h: Stubs to let tm27 compile and link.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -7,7 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
SUBDIRS = . include clock console startup start irq wrapup
SUBDIRS = . include clock console startup start timer irq wrapup
include $(top_srcdir)/../../bsp.am

View File

@@ -42,6 +42,7 @@ include/Makefile
irq/Makefile
start/Makefile
startup/Makefile
timer/Makefile
wrapup/Makefile])
AC_OUTPUT

View File

@@ -29,6 +29,23 @@ extern "C" {
#include <console.h>
#include <clockdrv.h>
/*
* Define the interrupt mechanism for Time Test 27
*
* NOTE: Following are not defined and are board independent
*
*/
#define MUST_WAIT_FOR_INTERRUPT 0
#define Install_tm27_vector( handler )
#define Cause_tm27_intr()
#define Clear_tm27_intr()
#define Lower_tm27_intr()
#ifdef __cplusplus
}
#endif

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,35 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
VPATH = @srcdir@:@srcdir@/../../../shared
PGM = $(ARCH)/timer.rel
C_FILES = timerstub.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-local: $(ARCH) $(OBJS) $(PGM)
.PRECIOUS: $(PGM)
EXTRA_DIST = timer.c
include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
BSP_PIECES = clock console startup irq
BSP_PIECES = clock console startup timer irq
# bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o)

View File

@@ -1,3 +1,13 @@
2001-10-17 Joel Sherrill <joel@OARcorp.com>
* timer: New subdirectory.
* timer/Makefile.am: New file.
* timer/.cvsignore: New file.
* Makefile.am: Modified to reflect above.
* configure.ac: Ditto.
* wrapup/Makefile.am: Ditto.
* include/bsp.h: Stubs to let tm27 compile and link.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.

View File

@@ -7,7 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
SUBDIRS = . include irq clock console startup start wrapup
SUBDIRS = . include irq clock console startup timer start wrapup
include $(top_srcdir)/../../bsp.am

View File

@@ -31,5 +31,6 @@ include/Makefile
irq/Makefile
start/Makefile
startup/Makefile
timer/Makefile
wrapup/Makefile])
AC_OUTPUT

View File

@@ -29,6 +29,23 @@ extern "C" {
#include <console.h>
#include <clockdrv.h>
/*
* Define the interrupt mechanism for Time Test 27
*
* NOTE: Following are not defined and are board independent
*
*/
#define MUST_WAIT_FOR_INTERRUPT 0
#define Install_tm27_vector( handler )
#define Cause_tm27_intr()
#define Clear_tm27_intr()
#define Lower_tm27_intr()
#ifdef __cplusplus
}
#endif

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,35 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
VPATH = @srcdir@:@srcdir@/../../../shared
PGM = $(ARCH)/timer.rel
C_FILES = timerstub.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-local: $(ARCH) $(OBJS) $(PGM)
.PRECIOUS: $(PGM)
EXTRA_DIST = timer.c
include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
BSP_FILES = clock console startup irq
BSP_FILES = clock console startup irq timer
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/compile.am