source: rtems/c/src/lib/libbsp/powerpc/mpc8260ads/wrapup/Makefile.am @ 6411947

4.104.114.84.95
Last change on this file since 6411947 was 6411947, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/05/04 at 06:14:08

2004-01-05 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Eliminate $(LIB). Use noinst_DATA to trigger building libbsp.a.
  • Property mode set to 100644
File size: 944 bytes
Line 
1##
2## $Id$
3##
4
5# We only build the networking device driver if HAS_NETWORKING was defined
6if HAS_NETWORKING
7NETWORKING = network
8endif
9
10BSP_PIECES = clock irq start startup console vectors $(NETWORKING)
11# pieces to pick up out of libcpu/ppc
12# CPU_PIECES = mpc8xx/clock mpc8xx/console-generic mpc8xx/cpm \
13#              mpc8xx/mmu mpc8xx/timer mpc8xx/vectors
14
15# bummer; have to use $foreach since % pattern subst rules only replace 1x
16OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
17    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
18    ../@exceptions@/$(ARCH)/rtems-cpu.rel $(wildcard \
19    ../../../../libcpu/$(RTEMS_CPU)/mpc8260/*/$(ARCH)/*.$(OBJEXT))
20
21include $(top_srcdir)/../../../../automake/compile.am
22include $(top_srcdir)/../../../../automake/lib.am
23
24$(ARCH)/libbsp.a: $(OBJS)
25        $(make-library)
26
27noinst_DATA = $(ARCH)/libbsp.a
28
29include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.