From cadb5d1641059adb5bbef5900e2cefee653f2b74 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Apr 2006 16:58:41 +0000 Subject: 2006-04-24 Jiri Gaisler Edvin Catovic PR bsps/972 * ChangeLog, Makefile.am, configure.ac, amba/amba.c, clock/ckinit.c, console/Makefile.am, console/console.c, console/debugputs.c, include/Makefile.am, include/amba.h, include/bsp.h, include/leon.h, leon_smc91111/leon_smc91111.c, startup/bspstart.c, timer/timer.c, tools/Makefile.am, wrapup/Makefile.am: Added Shared Memory Support Driver. Added Leon Gaisler Research Ethernet support. Enhanced AMBA bus support. * console/debugprintf.c, console/spacewire.c, include/spacewire.h, leon_greth/.cvsignore, leon_greth/Makefile.am, leon_greth/leon_greth.c, shmsupp/.cvsignore, shmsupp/Makefile.am, shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: New files. --- c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am') diff --git a/c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am b/c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am index 515a76e7cc..64412d7ef0 100644 --- a/c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am +++ b/c/src/lib/libbsp/sparc/leon3/wrapup/Makefile.am @@ -4,16 +4,29 @@ # We only build the networking device driver if HAS_NETWORKING was defined if HAS_NETWORKING -NETWORKING_DRIVER = leon_open_eth leon_smc91111 +NETWORKING_DRIVER = leon_open_eth leon_smc91111 leon_greth endif -BSP_PIECES = startup amba console clock timer gnatsupp $(NETWORKING_DRIVER) +if HAS_MP +GENERIC_MP_REL_FILES = shmdr +endif +GENERIC_FILES = $(GENERIC_MP_REL_FILES) + + +if HAS_MP +BSP_MP_O_FILES = shmsupp +endif +BSP_PIECES = startup amba console clock $(BSP_MP_O_FILES) timer \ + gnatsupp $(NETWORKING_DRIVER) # pieces to pick up out of libcpu/sparc CPU_PIECES = cache reg_win syscall # bummer; have to use $foreach since % pattern subst rules only replace 1x -OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \ - $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.$(OBJEXT)) +OBJS = \ + $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \ + $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) \ + $(foreach piece, $(CPU_PIECES), \ + ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.$(OBJEXT)) LIB = $(ARCH)/libbsp.a include $(top_srcdir)/../../../../../../automake/compile.am @@ -29,3 +42,5 @@ $(LIB): $(OBJS) all-local: $(ARCH) $(LIB) include $(top_srcdir)/../../../../../../automake/local.am + +../../../shmdr/o-optimize/shmdr.rel: -- cgit v1.2.3