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

* Makefile.am: Add @exceptions@ to SUBDIRS;
	Remove need_motorola_powerpc.
	* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from
	make/custom/mcp750.cfg, make/custom/mvme2307.cfg;
	Remove need_motorola_powerpc;
	Add RTEMS_PPC_EXCEPTIONS([new]).
	* include/Makefile.am: Replace PREINSTALL_FILES with
	TMPINSTALL_FILES, include force-preinstall.am.
	* wrapup/Makefile.am: Apply @exceptions@.
This commit is contained in:
Joel Sherrill
2001-11-21 18:38:48 +00:00
parent 26f6042e28
commit 4fe0abdcd1
5 changed files with 29 additions and 8 deletions

View File

@@ -1,3 +1,15 @@
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-12-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_ENABLE_NETWORKING.
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.
2001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add @exceptions@ to SUBDIRS;
Remove need_motorola_powerpc.
* configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from

View File

@@ -7,10 +7,8 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
if need_motorola_powerpc
SUBDIRS = include clock console pci residual openpic irq vectors start \
startup bootloader motorola wrapup
endif
startup bootloader motorola @exceptions@ wrapup
include $(top_srcdir)/../../bsp.am

View File

@@ -23,11 +23,18 @@ RTEMS_CHECK_NETWORKING
RTEMS_CANONICAL_HOST
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
AM_CONDITIONAL(need_motorola_powerpc, test "$RTEMS_BSP_FAMILY" = "motorola_powerpc")
AS=$CC
AM_PROG_AS
RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
[If defined, then the PowerPC specific code in RTEMS will use
data cache instructions to optimize the context switch code.
This code can conflict with debuggers or emulators. It is known
to break the Corelis PowerPC emulator with at least some combinations
of PowerPC 603e revisions and emulator versions.
The BSP actually contains the call that enables this.])
AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT
@@ -46,4 +53,7 @@ start/Makefile
startup/Makefile
vectors/Makefile
wrapup/Makefile])
RTEMS_PPC_EXCEPTIONS([new])
AC_OUTPUT

View File

@@ -42,13 +42,14 @@ $(PROJECT_INCLUDE)/bsp/irq.h: ../../shared/irq/irq.h
$(PROJECT_INCLUDE)/bsp/motorola.h: ../../shared/motorola/motorola.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp \
TMPINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp \
$(PROJECT_INCLUDE)/nvram.h $(PROJECT_INCLUDE)/bsp.h \
$(PROJECT_INCLUDE)/coverhd.h $(PROJECT_INCLUDE)/bsp/consoleIo.h \
$(PROJECT_INCLUDE)/bsp/uart.h $(PROJECT_INCLUDE)/bsp/irq.h \
$(PROJECT_INCLUDE)/bsp/motorola.h \
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
all-local: $(PREINSTALL_FILES)
all-local: $(TMPINSTALL_FILES)
include $(top_srcdir)/../../../../../../automake/force-preinstall.am
include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -10,7 +10,7 @@ BSP_PIECES = clock console irq openpic pci residual startup vectors motorola
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) \
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc6xx/*/$(ARCH)/*.o) \
$(wildcard ../../../../libcpu/powerpc/new_exception_processing/$(ARCH)/*.rel) \
../@exceptions@/$(ARCH)/rtems-cpu.rel \
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
LIB = $(ARCH)/libbsp.a