2003-02-20 Till Straumann <strauman@slac.stanford.edu>

PR 349/bsps
	* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
	* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
This commit is contained in:
Joel Sherrill
2003-02-20 21:57:21 +00:00
parent 5cfb5ca283
commit 3c2f21a987
6 changed files with 60 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
to use the vmeUniverse VME-PCI bridge driver.
* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps

View File

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

View File

@@ -45,6 +45,7 @@ residual/Makefile
start/Makefile
startup/Makefile
vectors/Makefile
vme/Makefile
wrapup/Makefile])
RTEMS_PPC_EXCEPTIONS([new])

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,48 @@
##
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../shared/vme:@srcdir@/../../../shared/vmeUniverse:
H_FILES = ../pci/pci.h ../irq/irq.h ../vme/VME.h ../vme/VMEConfig.h
C_FILES = vmeUniverse.c vmeconfig.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
OBJS = $(C_O_FILES)
include_bspdir = $(includedir)/bsp
include_bsp_HEADERS = ../../shared/vme/VMEConfig.h
include_bsp_HEADERS += ../../shared/vme/VME.h
include_bsp_HEADERS += ../../../shared/vmeUniverse/vmeUniverse.h
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/bsp:
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: vmeUniverse.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/bsp/VME.h: VME.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/bsp/VMEConfig.h: VMEConfig.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \
$(addprefix $(PROJECT_INCLUDE)/bsp/,$(notdir $(include_bsp_HEADERS)))
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS)
include $(top_srcdir)/../../../../../../automake/compile.am
include $(top_srcdir)/../../../../../../automake/lib.am
#
# (OPTIONAL) Add local stuff here using +=
#
include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -2,7 +2,7 @@
## $Id$
##
BSP_PIECES = clock console irq openpic pci residual startup vectors motorola
BSP_PIECES = clock console irq openpic pci residual startup vectors motorola vme
# bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \