4.104.114.84.95
Last change
on this file since cfefaa6e was
cfefaa6e,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/23/97 at 18:48:35
|
Added TOD driver from Katsutoshi Shibuya.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[254b4450] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
| 7 | top_srcdir = @top_srcdir@ |
---|
| 8 | VPATH=@srcdir@ |
---|
| 9 | |
---|
[cfefaa6e] | 10 | BSP_PIECES=startup clock console timer tod |
---|
[a86443fb] | 11 | CPU_PIECES= |
---|
[254b4450] | 12 | GENERIC_PIECES= |
---|
| 13 | |
---|
| 14 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
| 15 | OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \ |
---|
[bcbd75d4] | 16 | $(wildcard ../consolex/$(ARCH)/consolex.rel) \ |
---|
[a86443fb] | 17 | $(foreach piece, $(CPU_PIECES), \ |
---|
| 18 | ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \ |
---|
| 19 | $(wildcard \ |
---|
| 20 | ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel) \ |
---|
[254b4450] | 21 | $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
| 22 | LIB=$(ARCH)/libbsp.a |
---|
| 23 | |
---|
| 24 | include $(RTEMS_CUSTOM) |
---|
| 25 | include $(PROJECT_ROOT)/make/lib.cfg |
---|
| 26 | |
---|
| 27 | # |
---|
| 28 | # (OPTIONAL) Add local stuff here using += |
---|
| 29 | # |
---|
| 30 | |
---|
| 31 | DEFINES += |
---|
| 32 | CPPFLAGS += |
---|
| 33 | CFLAGS += |
---|
| 34 | |
---|
| 35 | LD_PATHS += |
---|
| 36 | LD_LIBS += |
---|
| 37 | LDFLAGS += |
---|
| 38 | |
---|
| 39 | # |
---|
| 40 | # Add your list of files to delete here. The config files |
---|
| 41 | # already know how to delete some stuff, so you may want |
---|
| 42 | # to just run 'make clean' first to see what gets missed. |
---|
| 43 | # 'make clobber' already includes 'make clean' |
---|
| 44 | # |
---|
| 45 | |
---|
| 46 | CLEAN_ADDITIONS += |
---|
| 47 | CLOBBER_ADDITIONS += |
---|
| 48 | |
---|
| 49 | $(LIB): ${OBJS} |
---|
| 50 | $(make-library) |
---|
| 51 | |
---|
| 52 | all: ${ARCH} $(SRCS) $(LIB) |
---|
| 53 | $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib |
---|
| 54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.