2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Remove . from SUBDIRS, add @exceptions@ to
	SUBDIRS.
	* configure.ac:  Add RTEMS_BSPOPTS_*(PPC_USE_SPRG),
	RTEMS_BSPOPTS_*(PPC_VECTOR_FILE_BASE),
	RTEMS_PPC_EXCEPTIONS([old]).
	* include/Makefile.am: Convert PREINSTALL_FILES to
	TMPINSTALL_FILES, include force-preinstall.am.
	* wrapup/Makefile.am: Apply @exceptions@.
This commit is contained in:
Joel Sherrill
2001-11-27 01:18:35 +00:00
parent 345772eb60
commit b64367d915
5 changed files with 29 additions and 2 deletions

View File

@@ -1,3 +1,14 @@
2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove . from SUBDIRS, add @exceptions@ to
SUBDIRS.
* configure.ac: Add RTEMS_BSPOPTS_*(PPC_USE_SPRG),
RTEMS_BSPOPTS_*(PPC_VECTOR_FILE_BASE),
RTEMS_PPC_EXCEPTIONS([old]).
* include/Makefile.am: Convert PREINSTALL_FILES to
TMPINSTALL_FILES, include force-preinstall.am.
* wrapup/Makefile.am: Apply @exceptions@.
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se> 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to This modification is part of the submitted modifications necessary to

View File

@@ -7,7 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
# wrapup is the one that actually builds and installs the library # wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories # from the individual .rel files built in other directories
SUBDIRS = . include dlentry flashentry startup wrapup SUBDIRS = include dlentry flashentry startup @exceptions@ wrapup
include $(top_srcdir)/../../bsp.am include $(top_srcdir)/../../bsp.am

View File

@@ -24,6 +24,18 @@ RTEMS_CANONICAL_HOST
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
[If defined, then the PowerPC specific code in RTEMS will use some
of the special purpose registers to slightly optimize interrupt
response time. The use of these registers can conflict with
other tools like debuggers.])
RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
[This defines the base address of the exception table.
NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
AM_CONFIG_HEADER(include/bspopts.h) AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT RTEMS_PROJECT_ROOT
@@ -34,4 +46,7 @@ flashentry/Makefile
include/Makefile include/Makefile
startup/Makefile startup/Makefile
wrapup/Makefile]) wrapup/Makefile])
RTEMS_PPC_EXCEPTIONS([old])
AC_OUTPUT AC_OUTPUT

View File

@@ -17,4 +17,5 @@ TMPINSTALL_FILES = $(PROJECT_INCLUDE) \
all-local: $(TMPINSTALL_FILES) all-local: $(TMPINSTALL_FILES)
include $(top_srcdir)/../../../../../../automake/force-preinstall.am
include $(top_srcdir)/../../../../../../automake/local.am include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -10,7 +10,7 @@ CPU_PIECES = clock timer console vectors ictrl
# bummer; have to use $foreach since % pattern subst rules only replace 1x # bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
$(wildcard ../../../../libcpu/powerpc/old_exception_processing/$(ARCH)/*.rel) \ ../@exceptions@/$(ARCH)/rtems-cpu.rel \
$(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel) $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel)
LIB = $(ARCH)/libbsp.a LIB = $(ARCH)/libbsp.a