forked from Imagelibrary/rtems
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clock: New directory with stub clock driver. * clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c: New files. * Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect above.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* clock: New directory with stub clock driver.
|
||||
* clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c: New files.
|
||||
* Makefile.am, configure.in, wrapup/Makefile.am: Modified
|
||||
to reflect above.
|
||||
|
||||
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/bspstart.c: Removed call of console_reserve_resources().
|
||||
|
||||
@@ -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 console startup start wrapup
|
||||
SUBDIRS = . include irq clock console startup start wrapup
|
||||
|
||||
include $(top_srcdir)/../../bsp.am
|
||||
|
||||
|
||||
2
c/src/lib/libbsp/arm/vegaplus/clock/.cvsignore
Normal file
2
c/src/lib/libbsp/arm/vegaplus/clock/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
33
c/src/lib/libbsp/arm/vegaplus/clock/Makefile.am
Normal file
33
c/src/lib/libbsp/arm/vegaplus/clock/Makefile.am
Normal file
@@ -0,0 +1,33 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PGM = $(ARCH)/clock.rel
|
||||
|
||||
C_FILES = clockdrv.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 = ckinit.c
|
||||
|
||||
include $(top_srcdir)/../../../../../../automake/local.am
|
||||
22
c/src/lib/libbsp/arm/vegaplus/clock/clockdrv.c
Normal file
22
c/src/lib/libbsp/arm/vegaplus/clock/clockdrv.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Instantiate the clock driver shell.
|
||||
*
|
||||
* Since there is no clock source on the simulator, all we do is
|
||||
* make sure it will build.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#define CLOCK_VECTOR 0
|
||||
|
||||
#define Clock_driver_support_at_tick()
|
||||
|
||||
#define Clock_driver_support_install_isr( _new, _old ) \
|
||||
do { _old = 0; } while(0)
|
||||
|
||||
|
||||
#define Clock_driver_support_initialize_hardware()
|
||||
|
||||
#define Clock_driver_support_shutdown_hardware()
|
||||
|
||||
#include "../../../shared/clockdrv_shell.c"
|
||||
@@ -24,6 +24,7 @@ RTEMS_PROJECT_ROOT
|
||||
# Explicitly list all Makefiles here
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
clock/Makefile
|
||||
console/Makefile
|
||||
include/Makefile
|
||||
irq/Makefile
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
BSP_FILES = console startup irq
|
||||
BSP_FILES = clock console startup irq
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../../../../automake/compile.am
|
||||
|
||||
Reference in New Issue
Block a user