4.104.114.84.95
Last change
on this file since 69537ca9 was
69537ca9,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/12/00 at 16:38:56
|
Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@…>
that converts the libbsp/i386 subdirectory to full automake.
|
-
Property mode set to
100644
|
File size:
994 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | # We only build the Network library if HAS_NETWORKING was defined |
---|
8 | # dec21140 is supported via libchip |
---|
9 | if HAS_NETWORKING |
---|
10 | NETWORK = ne2000 wd8003 3c509 |
---|
11 | endif |
---|
12 | |
---|
13 | BSP_FILES = startup clock console timer $(NETWORK) |
---|
14 | GENERIC_FILES = |
---|
15 | |
---|
16 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
17 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
18 | $(foreach piece, $(GENERIC_FILES), \ |
---|
19 | ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
20 | LIB = $(ARCH)/libbsp.a |
---|
21 | |
---|
22 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
23 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
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 | |
---|
35 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
---|
36 | |
---|
37 | all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES) |
---|
38 | |
---|
39 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.