source: rtems/c/src/lib/libbsp/m68k/sim68000/wrapup/Makefile.am @ 0308c805

4.104.114.84.95
Last change on this file since 0308c805 was 0308c805, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 21, 2002 at 5:41:26 PM

2002-08-21 Joel Sherrill <joel@…>

  • wrapup/Makefile.am: PR217 required that the idle task be moved to libcpu so it could be more acutely aware of the CPU model. This file was modified to pick up the idle task from there.
  • Property mode set to 100644
File size: 825 bytes
Line 
1##
2## $Id$
3##
4
5BSP_FILES = startup clock console timer
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../../../../../../automake/compile.am
9include $(top_srcdir)/../../../../../../automake/lib.am
10
11# bummer; have to use $foreach since % pattern subst rules only replace 1x
12OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
13    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
14    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/misc/$(ARCH)/*.$(OBJEXT)) \
15    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
16
17LIB = $(ARCH)/libbsp.a
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23$(LIB): ${OBJS}
24        $(make-library)
25
26all-local: ${ARCH} $(LIB)
27
28include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.