From dc104a4039397056fc276d4f9a14d28b1405ae95 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 30 May 1998 11:46:21 +0000 Subject: Updated to current source and removed warnings. --- c/src/lib/libbsp/powerpc/dmv177/wrapup/Makefile.in | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/dmv177/wrapup') diff --git a/c/src/lib/libbsp/powerpc/dmv177/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/wrapup/Makefile.in index 285b8e0356..02bee936b5 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/wrapup/Makefile.in @@ -4,16 +4,21 @@ @SET_MAKE@ srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ -RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ -RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg -#BSP_PIECES=startup clock console timer tod vectors -BSP_PIECES=startup clock console sonic timer tod #vectors +# We only build the ka9q device driver if HAS_KA9Q was defined +KA9Q_DRIVER_yes_V = network +KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V) + +# pieces specific to this BSP +BSP_PIECES=startup clock console timer tod $(KA9Q_DRIVER) + # pieces to pick up out of libcpu/$(RTEMS_CPU) CPU_PIECES= + +# shared pieces GENERIC_PIECES= # bummer; have to use $foreach since % pattern subst rules only replace 1x @@ -24,8 +29,8 @@ OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \ ../../../$(piece)/$(ARCH)/$(piece).rel) LIB=$(ARCH)/libbsp.a -include $(RTEMS_CUSTOM) -include $(PROJECT_ROOT)/make/lib.cfg +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/lib.cfg # # (OPTIONAL) Add local stuff here using += -- cgit v1.2.3