source: rtems/c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am @ 5f78f5d0

4.104.114.84.95
Last change on this file since 5f78f5d0 was 5f78f5d0, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 8, 2001 at 6:19:27 PM

2001-01-08 Joel Sherrill <joel@…>

  • start/start.S: init_exc_vecs is now called mips_install_isr_entries.
  • wrapup/Makefile.am: Corrected to reflect new libcpu structure.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_FILES = startup console liblnk
8CPU_FILES = clock timer
9
10include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11include $(top_srcdir)/../../../../../../automake/compile.am
12include $(top_srcdir)/../../../../../../automake/lib.am
13
14# bummer; have to use $foreach since % pattern subst rules only replace 1x
15OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
16    $(foreach piece, $(CPU_FILES), \
17        $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.o)) \
18    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
19    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/r46xx/*/$(ARCH)/*.o) \
20    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.o) \
21    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
22
23LIB = $(ARCH)/libbsp.a
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
33        $(INSTALL_DATA) $< $@
34
35TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
36
37all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
38
39.PRECIOUS: $(LIB)
40
41include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.