source: rtems/c/src/make/leaf.cfg @ bd39add

4.115
Last change on this file since bd39add was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

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)
7ifndef LINKCMDS
8LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
9endif
10
11## what to do about $(EXEEXT) --> $(EXEEXT)
12##    -o $(basename $@)$(EXEEXT)             OR
13##    -o $(basename $@)$(EXEEXT)                  OR
14
15DOWNEXT=.ralf
16
17define bsp-link-c
18        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
19            -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
20endef
21
22define bsp-link-cxx
23        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
24            -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
25endef
26
27define default-bsp-post-link
28        $(NM) -g -n $@ > $(basename $@).num
29        $(SIZE) $@
30endef
31
32ifndef bsp-post-link
33  define bsp-post-link
34        $(default-bsp-post-link)
35        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
36  endef
37endif
38
39define make-exe
40       $(bsp-link-c)
41       $(bsp-post-link)
42endef
43
44define make-cxx-exe
45       $(bsp-link-cxx)
46       $(bsp-post-link)
47endef
Note: See TracBrowser for help on using the repository browser.