4.104.114.84.95
Last change
on this file since acc25ee was
acc25ee,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/02/99 at 14:31:19
|
Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@…>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../.. |
---|
9 | subdir = powerpc/wrapup |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | GENERIC_PIECES = shared |
---|
17 | |
---|
18 | # Use two variables so that I can make two ar command. |
---|
19 | # So far FAMILY_OBJ is empty and ar dislike it... |
---|
20 | CPU_SPECIFIC_OBJS = $(wildcard ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o) |
---|
21 | FAMILY_OBJS = $(wildcard ../shared/$(ARCH)/*.o ../shared/*/$(ARCH)/*.o ../mpc6xx/*/$(ARCH)/*.o) |
---|
22 | |
---|
23 | LIB = $(ARCH)/libcpu.a |
---|
24 | |
---|
25 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
26 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
27 | |
---|
28 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
29 | |
---|
30 | # |
---|
31 | # (OPTIONAL) Add local stuff here using += |
---|
32 | # |
---|
33 | |
---|
34 | DEFINES += |
---|
35 | CPPFLAGS += |
---|
36 | CFLAGS += |
---|
37 | |
---|
38 | LD_PATHS += |
---|
39 | LD_LIBS += |
---|
40 | LDFLAGS += |
---|
41 | |
---|
42 | # |
---|
43 | # Add your list of files to delete here. The config files |
---|
44 | # already know how to delete some stuff, so you may want |
---|
45 | # to just run 'make clean' first to see what gets missed. |
---|
46 | # 'make clobber' already includes 'make clean' |
---|
47 | # |
---|
48 | |
---|
49 | CLEAN_ADDITIONS += |
---|
50 | CLOBBER_ADDITIONS += |
---|
51 | |
---|
52 | $(LIB): ${OBJS} |
---|
53 | @ echo $(CPU_SPECIFIC_OBJS) $(FAMILY_OBJ) ;\ |
---|
54 | $(RM) $@ ;\ |
---|
55 | $(AR) $(ARFLAGS) $@ $(CPU_SPECIFIC_OBJS) ;\ |
---|
56 | $(AR) $(ARFLAGS) $@ $(FAMILY_OBJS) ;\ |
---|
57 | $(RANLIB) $@ |
---|
58 | |
---|
59 | all: ${ARCH} $(SRCS) $(LIB) |
---|
60 | $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib |
---|
61 | |
---|
62 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
63 | cd $(top_builddir) \ |
---|
64 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
Note: See
TracBrowser
for help on using the repository browser.