source: rtems/c/src/lib/libbsp/a29k/portsw/wrapup/Makefile.am @ a848acb

4.104.114.84.95
Last change on this file since a848acb was a848acb, checked in by Joel Sherrill <joel.sherrill@…>, on 09/25/00 at 19:01:14

2000-09-25 Joel Sherrill <joel@…>

  • bsp_specs: Formatting more like other bsp_specs.
  • include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to elimate need for including bsp.h in libcpu.
  • startup/bspstart.c: Ditto.
  • wrapup/Makefile.am: Did not list shmdr.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7if HAS_MP
8GENERIC_MP_REL_PIECES = shmdr
9endif
10GENERIC_PIECES += $(GENERIC_MP_REL_PIECES)
11
12if HAS_MP
13MP_BSP_O_FILES = shmsupp
14endif
15
16BSP_FILES = startup console iic ethernet flash nvram $(MP_BSP_O_FILES)
17CPU_FILES = clock timer
18
19# bummer; have to use $foreach since % pattern subst rules only replace 1x
20OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
21    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
22    $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
23LIB = $(ARCH)/libbsp.a
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(top_srcdir)/../../../../../../automake/compile.am
27include $(top_srcdir)/../../../../../../automake/lib.am
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33$(LIB): $(OBJS)
34        $(make-library)
35
36$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
37        $(INSTALL_DATA) $< $@
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
40
41all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
42
43.PRECIOUS: $(LIB)
44
45include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.