forked from Imagelibrary/rtems
2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_*(CPU_CLOCK_RATE_HZ), RTEMS_BSPOPTS_*(START_HW_INIT), RTEMS_BSPOPTS_*(STANDALONE_EVB). * wrapup/Makefile.am: Apply RTEMS_CPU_MODEL to pickup CPU_PIECES.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add RTEMS_BSPOPTS_*(CPU_CLOCK_RATE_HZ),
|
||||
RTEMS_BSPOPTS_*(START_HW_INIT),
|
||||
RTEMS_BSPOPTS_*(STANDALONE_EVB).
|
||||
* wrapup/Makefile.am: Apply RTEMS_CPU_MODEL to pickup CPU_PIECES.
|
||||
|
||||
2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* startup/Makefile.am: Remove AC_CFLAGS, HZ.
|
||||
|
||||
@@ -21,14 +21,21 @@ RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
## bsp-specific options
|
||||
CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-29491200}
|
||||
AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],
|
||||
[$CPU_CLOCK_RATE_HZ],
|
||||
[cpu clock rate in HZ])
|
||||
RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[29491200])
|
||||
RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
|
||||
|
||||
## Used in scitab/Makefile.am
|
||||
AC_SUBST(CPU_CLOCK_RATE_HZ)
|
||||
|
||||
RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
|
||||
RTEMS_BSPOPTS_HELP([START_HW_INIT],
|
||||
[If defined, selects whether 'early_hw_init()' is called from 'start.S';
|
||||
'bsp_hw_init()' is always called from 'bspstart.c'])
|
||||
|
||||
RTEMS_BSPOPTS_SET([STANDALONE_EVB],[*],[])
|
||||
RTEMS_BSPOPTS_HELP([STANDALONE_EVB],
|
||||
[If defined, compiles code to jump-start from FLASH, without a monitor])
|
||||
|
||||
AM_CONFIG_HEADER(include/bspopts.h)
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ CPU_PIECES = clock timer sci score
|
||||
|
||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
|
||||
$(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/sh7045/$(piece)/$(ARCH)/$(piece).rel)
|
||||
$(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel)
|
||||
|
||||
LIB = $(ARCH)/libbsp.a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user