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.
	* include/bsp.h: Stubs to let tm27 compile and link.
This commit is contained in:
Joel Sherrill
2001-10-17 20:26:56 +00:00
parent 606d797c89
commit 962e6f05ec
5 changed files with 42 additions and 5 deletions

View File

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

View File

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

View File

@@ -47,11 +47,11 @@ extern "C" {
#define MUST_WAIT_FOR_INTERRUPT 0 #define MUST_WAIT_FOR_INTERRUPT 0
#define Install_tm27_vector( handler ) set_vector( (handler), 6, 1 ) #define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */
#define Cause_tm27_intr() i960_cause_intr( 0x62 ) #define Cause_tm27_intr() /* i960_cause_intr( 0x62 ) */
#define Clear_tm27_intr() i960_clear_intr( 6 ) #define Clear_tm27_intr() /* i960_clear_intr( 6 ) */
#define Lower_tm27_intr() #define Lower_tm27_intr()

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