2004-11-22 Jennifer Averett <jennifer@OARcorp.com>

* Makefile.am, wrapup/Makefile.am: Pick up SHM driver when MP enabled.
This commit is contained in:
Joel Sherrill
2004-11-22 23:32:33 +00:00
parent 624f551480
commit bf423bdb2b
3 changed files with 15 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
* Makefile.am, wrapup/Makefile.am: Pick up SHM driver when MP enabled.
2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
PR 581/bsps

View File

@@ -6,7 +6,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 start irq clock console startup shmsupp timer vectors\
SUBDIRS = include start irq clock console startup shmsupp timer vectors \
@exceptions@ wrapup \
tools

View File

@@ -2,10 +2,19 @@
## $Id$
##
BSP_PIECES = startup clock console irq vectors
if HAS_MP
BSP_MP_O_FILES = shmsupp
endif
BSP_PIECES = startup clock console irq vectors $(BSP_MP_O_FILES)
if HAS_MP
GENERIC_MP_REL_FILES = shmdr
endif
GENERIC_FILES = $(GENERIC_MP_REL_FILES)
# bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
$(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) \
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc6xx/*/$(ARCH)/*.$(OBJEXT)) \
../@exceptions@/$(ARCH)/rtems-cpu.rel \