4.115
Last change
on this file since 5fa9b70 was
5fa9b70,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/08/11 at 21:40:23
|
2011-12-08 Joel Sherrill <joel.sherrill@…>
PR 1589/build
- leaf.cfg, target.cfg.in, compilers/gcc-target-default.cfg: Remove
obsolete optional manager capability.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | # make/leaf.cfg |
---|
5 | # |
---|
6 | # Make(1) configuration file include'd by all leaf-node Makefiles |
---|
7 | # |
---|
8 | |
---|
9 | # Allow user to override link commands (to build a prom image, perhaps) |
---|
10 | ifndef LINKCMDS |
---|
11 | LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds |
---|
12 | endif |
---|
13 | |
---|
14 | ## what to do about $(EXEEXT) --> $(EXEEXT) |
---|
15 | ## -o $(basename $@)$(EXEEXT) OR |
---|
16 | ## -o $(basename $@)$(EXEEXT) OR |
---|
17 | |
---|
18 | DOWNEXT=.ralf |
---|
19 | |
---|
20 | define bsp-link-c |
---|
21 | $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
22 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
23 | endef |
---|
24 | |
---|
25 | define bsp-link-cxx |
---|
26 | $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
27 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
28 | endef |
---|
29 | |
---|
30 | define default-bsp-post-link |
---|
31 | $(NM) -g -n $@ > $(basename $@).num |
---|
32 | $(SIZE) $@ |
---|
33 | endef |
---|
34 | |
---|
35 | ifndef bsp-post-link |
---|
36 | define bsp-post-link |
---|
37 | $(default-bsp-post-link) |
---|
38 | cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
39 | endef |
---|
40 | endif |
---|
41 | |
---|
42 | define make-exe |
---|
43 | $(bsp-link-c) |
---|
44 | $(bsp-post-link) |
---|
45 | endef |
---|
46 | |
---|
47 | define make-cxx-exe |
---|
48 | $(bsp-link-cxx) |
---|
49 | $(bsp-post-link) |
---|
50 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.