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:
Joel Sherrill
2001-01-05 13:38:20 +00:00
parent e8ad374a2b
commit 60391a2c16
4 changed files with 17 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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 ;
}