4.104.114.84.95
Last change
on this file since 914981ce was
914981ce,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 06:55:19
|
2002-08-11 Ralf Corsepius <corsepiu@…>
- console/Makefile.am: Use .$(OBJEXT) instead of .o.
- liblnk/Makefile.am: Use .$(OBJEXT) instead of .o.
- start/Makefile.am: Use .$(OBJEXT) instead of .o.
- startup/Makefile.am: Use .$(OBJEXT) instead of .o.
- wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[df49c60] | 1 | ## |
---|
[4e36a2f] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[4e36a2f] | 4 | |
---|
| 5 | BSP_FILES = startup console liblnk |
---|
| 6 | CPU_FILES = clock timer |
---|
| 7 | |
---|
| 8 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[fdab2b6] | 9 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
[4e36a2f] | 10 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 11 | |
---|
[5f78f5d0] | 12 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
[914981ce] | 13 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \ |
---|
[5f78f5d0] | 14 | $(foreach piece, $(CPU_FILES), \ |
---|
[914981ce] | 15 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.$(OBJEXT))) \ |
---|
| 16 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \ |
---|
| 17 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/r46xx/*/$(ARCH)/*.$(OBJEXT)) \ |
---|
| 18 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \ |
---|
[5f78f5d0] | 19 | $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
| 20 | |
---|
| 21 | LIB = $(ARCH)/libbsp.a |
---|
| 22 | |
---|
[4e36a2f] | 23 | # |
---|
| 24 | # (OPTIONAL) Add local stuff here using += |
---|
| 25 | # |
---|
| 26 | |
---|
| 27 | $(LIB): $(OBJS) |
---|
| 28 | $(make-library) |
---|
| 29 | |
---|
[445c0a0] | 30 | all-local: $(ARCH) $(LIB) |
---|
[4e36a2f] | 31 | |
---|
| 32 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.