4.115
Last change
on this file since 105ccdd5 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # make/leaf.cfg |
---|
2 | # |
---|
3 | # Make(1) configuration file include'd by all leaf-node Makefiles |
---|
4 | # |
---|
5 | |
---|
6 | # Allow user to override link commands (to build a prom image, perhaps) |
---|
7 | ifndef LINKCMDS |
---|
8 | LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds |
---|
9 | endif |
---|
10 | |
---|
11 | ## what to do about $(EXEEXT) --> $(EXEEXT) |
---|
12 | ## -o $(basename $@)$(EXEEXT) OR |
---|
13 | ## -o $(basename $@)$(EXEEXT) OR |
---|
14 | |
---|
15 | DOWNEXT=.ralf |
---|
16 | |
---|
17 | define bsp-link-c |
---|
18 | $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
19 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
20 | endef |
---|
21 | |
---|
22 | define bsp-link-cxx |
---|
23 | $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
24 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
25 | endef |
---|
26 | |
---|
27 | define default-bsp-post-link |
---|
28 | $(NM) -g -n $@ > $(basename $@).num |
---|
29 | $(SIZE) $@ |
---|
30 | endef |
---|
31 | |
---|
32 | ifndef bsp-post-link |
---|
33 | define bsp-post-link |
---|
34 | $(default-bsp-post-link) |
---|
35 | cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
36 | endef |
---|
37 | endif |
---|
38 | |
---|
39 | define make-exe |
---|
40 | $(bsp-link-c) |
---|
41 | $(bsp-post-link) |
---|
42 | endef |
---|
43 | |
---|
44 | define make-cxx-exe |
---|
45 | $(bsp-link-cxx) |
---|
46 | $(bsp-post-link) |
---|
47 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.