mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 23:12:22 +08:00
2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Added support for START_HW_INIT. * console/Makefile.am: Removed VPATH. * include/Makefile.am: Added missing ramdisk.h to include_HEADERS. * startup/linkcmds: Do not force output format to coff-sh. * startup/linkcmds-le: Comment out force of output format and add comment questioning need to have special linkcmds for little endian. * wrapup/Makefile.am: Add ramdisk to list of BSP_PIECES.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Added support for START_HW_INIT.
|
||||
* console/Makefile.am: Removed VPATH.
|
||||
* include/Makefile.am: Added missing ramdisk.h to include_HEADERS.
|
||||
* startup/linkcmds: Do not force output format to coff-sh.
|
||||
* startup/linkcmds-le: Comment out force of output format and add
|
||||
comment questioning need to have special linkcmds for little endian.
|
||||
* wrapup/Makefile.am: Add ramdisk to list of BSP_PIECES.
|
||||
|
||||
2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ.
|
||||
|
||||
@@ -22,12 +22,21 @@ RTEMS_CANONICAL_HOST
|
||||
|
||||
## bsp-specific options
|
||||
CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-10000000}
|
||||
AC_SUBST(CPU_CLOCK_RATE_HZ)
|
||||
AC_DEFINE_UNQUOTED(
|
||||
[CPU_CLOCK_RATE_HZ],
|
||||
[$CPU_CLOCK_RATE_HZ],
|
||||
[cpu clock rate in HZ])
|
||||
|
||||
# START_HW_INIT
|
||||
# This switch selects whether 'early_hw_init()' is called from
|
||||
# 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
|
||||
#
|
||||
START_HW_INIT=${START_HW_INIT-1}
|
||||
AC_DEFINE_UNQUOTED(
|
||||
[START_HW_INIT],
|
||||
[$START_HW_INIT],
|
||||
[Whether to call early_hw_init from start.S])
|
||||
|
||||
AM_CONFIG_HEADER(include/bspopts.h)
|
||||
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
PGM = $(ARCH)/console.rel
|
||||
|
||||
C_FILES = console.c
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
include_HEADERS = bsp.h coverhd.h syscall.h ramdisk.h
|
||||
include_HEADERS = bsp.h bspopts.h coverhd.h syscall.h ramdisk.h
|
||||
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
OUTPUT_FORMAT("coff-sh")
|
||||
*/
|
||||
OUTPUT_ARCH(sh)
|
||||
ENTRY(_start)
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
OUTPUT_FORMAT("elf32-shl", "elf32-shl",
|
||||
/*
|
||||
FIXME: Why is a special linkcmds required for little endian?
|
||||
OUTPUT_FORMAT("elf32-shl", "elf32-shl",
|
||||
"elf32-shl")
|
||||
*/
|
||||
OUTPUT_ARCH(sh)
|
||||
ENTRY(_start)
|
||||
/* Do we need any of these for elf?
|
||||
|
||||
@@ -6,14 +6,17 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
BSP_PIECES = startup console clock ramdisk timer
|
||||
BSP_PIECES = startup console clock timer
|
||||
|
||||
# FIXME: This is missing.
|
||||
# BSP_PIECES = ramdisk
|
||||
|
||||
# pieces to pick up out of libcpu/sh
|
||||
CPU_PIECES = 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)/simsh4/$(piece)/$(ARCH)/$(piece).rel)
|
||||
$(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/sh7750/$(piece)/$(ARCH)/$(piece).rel)
|
||||
|
||||
LIB = $(ARCH)/libbsp.a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user