source: rtems/c/src/make/leaf.cfg @ 5fa9b70

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