mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2001-01-05 Joel Sherrill <joel@OARcorp.com>
* scitab/Makefile.am, startup/bspstart.c, configure.in: Removed rest of make-target-options and moved them to BSP configure options.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-01-05 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* scitab/Makefile.am, startup/bspstart.c, configure.in: Removed
|
||||
rest of make-target-options and moved them to BSP configure options.
|
||||
|
||||
2001-01-05 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Changed <sh/null.h> to <rtems/devnull.h> to reflect
|
||||
|
||||
@@ -19,6 +19,16 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
## bsp-specific options
|
||||
## setup environment variable
|
||||
CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-20000000}
|
||||
|
||||
## Propagate options to Makefile.ams
|
||||
AC_SUBST(CPU_CLOCK_RATE_HZ)
|
||||
|
||||
## Propagate options to compilation options/auto config headers
|
||||
AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],[$CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
|
||||
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
|
||||
@@ -27,7 +27,7 @@ $(PGM): $(OBJS)
|
||||
$(make-rel)
|
||||
|
||||
scitab.c: $(SHGEN)
|
||||
$(SHGEN) -H $(HZ) sci > $@
|
||||
$(SHGEN) -H $(CPU_CLOCK_RATE_HZ) sci > $@
|
||||
|
||||
all-local: $(ARCH) $(OBJS) $(PGM)
|
||||
|
||||
|
||||
@@ -128,5 +128,5 @@ void bsp_start(void)
|
||||
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
|
||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||
#endif
|
||||
Cpu_table.clicks_per_second = HZ ;
|
||||
Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user