4.104.114.84.95
Rev | Line | |
---|
[68c498f4] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
[9065de85] | 7 | BSP_FILES = startup clock console timer |
---|
[68c498f4] | 8 | |
---|
| 9 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 10 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 11 | |
---|
| 12 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
| 13 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
| 14 | $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
| 15 | |
---|
| 16 | LIB = $(ARCH)/libbsp.a |
---|
| 17 | |
---|
| 18 | # |
---|
| 19 | # (OPTIONAL) Add local stuff here using += |
---|
| 20 | # |
---|
| 21 | |
---|
| 22 | $(LIB): ${OBJS} |
---|
| 23 | $(make-library) |
---|
| 24 | |
---|
| 25 | $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB) |
---|
| 26 | $(INSTALL_DATA) $< $@ |
---|
| 27 | |
---|
| 28 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
---|
| 29 | |
---|
| 30 | all-local: ${ARCH} $(TMPINSTALL_FILES) |
---|
| 31 | |
---|
| 32 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.