forked from Imagelibrary/rtems
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:
@@ -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>
|
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||||
|
|||||||
@@ -7,7 +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 clock console startup start irq wrapup
|
SUBDIRS = . include clock console startup start timer irq wrapup
|
||||||
|
|
||||||
include $(top_srcdir)/../../bsp.am
|
include $(top_srcdir)/../../bsp.am
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ include/Makefile
|
|||||||
irq/Makefile
|
irq/Makefile
|
||||||
start/Makefile
|
start/Makefile
|
||||||
startup/Makefile
|
startup/Makefile
|
||||||
|
timer/Makefile
|
||||||
wrapup/Makefile])
|
wrapup/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,23 @@ extern "C" {
|
|||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <clockdrv.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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
2
c/src/lib/libbsp/arm/arm_bare_bsp/timer/.cvsignore
Normal file
2
c/src/lib/libbsp/arm/arm_bare_bsp/timer/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
35
c/src/lib/libbsp/arm/arm_bare_bsp/timer/Makefile.am
Normal file
35
c/src/lib/libbsp/arm/arm_bare_bsp/timer/Makefile.am
Normal 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
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
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
|
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o)
|
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o)
|
||||||
|
|||||||
@@ -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>
|
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||||
|
|||||||
@@ -7,7 +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 irq clock console startup start wrapup
|
SUBDIRS = . include irq clock console startup timer start wrapup
|
||||||
|
|
||||||
include $(top_srcdir)/../../bsp.am
|
include $(top_srcdir)/../../bsp.am
|
||||||
|
|
||||||
|
|||||||
@@ -31,5 +31,6 @@ include/Makefile
|
|||||||
irq/Makefile
|
irq/Makefile
|
||||||
start/Makefile
|
start/Makefile
|
||||||
startup/Makefile
|
startup/Makefile
|
||||||
|
timer/Makefile
|
||||||
wrapup/Makefile])
|
wrapup/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
@@ -29,6 +29,23 @@ extern "C" {
|
|||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <clockdrv.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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
2
c/src/lib/libbsp/arm/vegaplus/timer/.cvsignore
Normal file
2
c/src/lib/libbsp/arm/vegaplus/timer/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
35
c/src/lib/libbsp/arm/vegaplus/timer/Makefile.am
Normal file
35
c/src/lib/libbsp/arm/vegaplus/timer/Makefile.am
Normal 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
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
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 $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../../../../../../automake/compile.am
|
include $(top_srcdir)/../../../../../../automake/compile.am
|
||||||
|
|||||||
Reference in New Issue
Block a user