4.115
Last change
on this file since ae55da72 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
|
Rev | Line | |
---|
[c1c1f33] | 1 | # make/leaf.cfg |
---|
| 2 | # |
---|
| 3 | # Make(1) configuration file include'd by all leaf-node Makefiles |
---|
| 4 | # |
---|
| 5 | |
---|
[7e5a481] | 6 | # Allow user to override link commands (to build a prom image, perhaps) |
---|
| 7 | ifndef LINKCMDS |
---|
| 8 | LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds |
---|
[c1c1f33] | 9 | endif |
---|
[3617ebe] | 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 |
---|
[20e1bdfc] | 18 | $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
[1cb06710] | 19 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
[3617ebe] | 20 | endef |
---|
| 21 | |
---|
| 22 | define bsp-link-cxx |
---|
[20e1bdfc] | 23 | $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
[1cb06710] | 24 | -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS) |
---|
[3617ebe] | 25 | endef |
---|
| 26 | |
---|
| 27 | define default-bsp-post-link |
---|
| 28 | $(NM) -g -n $@ > $(basename $@).num |
---|
| 29 | $(SIZE) $@ |
---|
| 30 | endef |
---|
| 31 | |
---|
[cb697107] | 32 | ifndef bsp-post-link |
---|
| 33 | define bsp-post-link |
---|
[3617ebe] | 34 | $(default-bsp-post-link) |
---|
[1cb06710] | 35 | cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
[cb697107] | 36 | endef |
---|
| 37 | endif |
---|
[3617ebe] | 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.