4.104.114.84.95
Last change
on this file since b9f84f1 was
b9f84f1,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/01 at 17:25:24
|
2001-12-19 Ralf Corsepius <corsepiu@…>
- configure.ac: Apply RTEMS_BSPOPTS_*(CPU_CLOCK_RATE_HZ).
- console/Makefile.am: C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o).
- wrapup/Makefile.am: Add gdbsci, scitab to BSP_FILES, add
CPU_FILES.
|
-
Property mode set to
100644
|
File size:
993 bytes
|
Rev | Line | |
---|
[86ec6ed] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
[b9f84f1] | 7 | BSP_FILES = startup clock console timer gdbsci scitab |
---|
[86ec6ed] | 8 | |
---|
[b9f84f1] | 9 | CPU_PIECES = score |
---|
[86ec6ed] | 10 | |
---|
| 11 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 12 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
| 13 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 14 | |
---|
| 15 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
| 16 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
[b9f84f1] | 17 | $(foreach piece, $(CPU_PIECES), \ |
---|
| 18 | ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel) \ |
---|
[86ec6ed] | 19 | $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
| 20 | |
---|
| 21 | LIB = $(ARCH)/libbsp.a |
---|
| 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} $(TMPINSTALL_FILES) |
---|
| 36 | |
---|
| 37 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.