source: rtems/c/src/lib/libbsp/sh/gensh4/wrapup/Makefile.am @ bb14bfe0

4.104.114.84.95
Last change on this file since bb14bfe0 was bb14bfe0, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 16, 2003 at 11:46:17 AM

2003-01-16 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Reflect changes to libcpu/sh/*.
  • Property mode set to 100644
File size: 732 bytes
Line 
1##
2## $Id$
3##
4## build and install libbsp
5##
6
7BSP_PIECES = startup hw_init console
8
9# pieces to pick up out of libcpu/sh/sh7750
10CPU_PIECES = clock sci timer score
11
12# bummer; have to use $foreach since % pattern subst rules only replace 1x
13OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
14    $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/$(piece).rel)
15
16LIB = $(ARCH)/libbsp.a
17
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28all-local: $(ARCH) $(LIB)
29
30include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.