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 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | if HAS_MP |
---|
8 | GENERIC_MP_REL_PIECES = shmdr |
---|
9 | endif |
---|
10 | GENERIC_PIECES += $(GENERIC_MP_REL_PIECES) |
---|
11 | |
---|
12 | if HAS_MP |
---|
13 | MP_BSP_O_FILES = shmsupp |
---|
14 | endif |
---|
15 | |
---|
16 | BSP_FILES = startup console iic ethernet flash nvram $(MP_BSP_O_FILES) |
---|
17 | CPU_FILES = clock timer |
---|
18 | |
---|
19 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
20 | OBJS = $(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) |
---|
23 | LIB = $(ARCH)/libbsp.a |
---|
24 | |
---|
25 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
26 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
27 | include $(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 | |
---|
39 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
---|
40 | |
---|
41 | all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
42 | |
---|
43 | .PRECIOUS: $(LIB) |
---|
44 | |
---|
45 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.