4.104.114.84.95
Last change
on this file since 4657df1f was
4657df1f,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:40:13
|
2000-09-04 Ralf Corsepius <corsepiu@…>
- console/Makefile.am, shmsupp/Makefile.am, start/Makefile.am,
startup/Makefile.am, wrapup/Makefile.am: Include compile.am.
|
-
Property mode set to
100644
|
File size:
985 bytes
|
Rev | Line | |
---|
[df49c60] | 1 | ## |
---|
[21677c0e] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[21677c0e] | 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
| 7 | if HAS_MP |
---|
| 8 | MP_BSP_O_FILES = shmsupp |
---|
| 9 | endif |
---|
| 10 | |
---|
| 11 | BSP_FILES = startup console iic ethernet flash nvram $(MP_BSP_O_FILES) |
---|
| 12 | CPU_FILES = clock timer |
---|
| 13 | |
---|
| 14 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
| 15 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
| 16 | $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) |
---|
| 17 | LIB = $(ARCH)/libbsp.a |
---|
| 18 | |
---|
| 19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[4657df1f] | 20 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
[21677c0e] | 21 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 22 | |
---|
| 23 | # |
---|
| 24 | # (OPTIONAL) Add local stuff here using += |
---|
| 25 | # |
---|
| 26 | |
---|
| 27 | $(LIB): $(OBJS) |
---|
| 28 | $(make-library) |
---|
| 29 | |
---|
| 30 | $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB) |
---|
| 31 | $(INSTALL_DATA) $< $@ |
---|
| 32 | |
---|
| 33 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
---|
| 34 | |
---|
| 35 | all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
| 36 | |
---|
| 37 | .PRECIOUS: $(LIB) |
---|
| 38 | |
---|
| 39 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.