source: rtems/c/src/make/leaf.cfg @ 6badcc2

4.104.114.84.9
Last change on this file since 6badcc2 was 943399b, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 13, 2000 at 1:08:36 PM

2000-09-13 Ralf Corsepius <corsepiu@…>

  • leaf.cfg: Remove Depends inclusion.
  • Property mode set to 100644
File size: 1.9 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#
10# list of all known managers
11# This list is used, along with $(MANAGERS) (set by app makefile)
12#   to build the list of *not wanted* drivers.
13#
14# ref: target compiler config file for usage
15#
16
17MANAGER_LIST=dpmem event io msg mp part region sem signal timer rtmon ext
18
19# Convert *real* spellings in $(MANAGERS) (set
20#   in application makefile) to their "correct" name.
21# (I hate abbreviations :-)
22
23MANAGERS := $(patsubst message,            msg,   $(MANAGERS))
24MANAGERS := $(patsubst multi_processor,    mp,    $(MANAGERS))
25MANAGERS := $(patsubst partition,          part,  $(MANAGERS))
26MANAGERS := $(patsubst rate_monotonic,     rtmon, $(MANAGERS))
27MANAGERS := $(patsubst semaphore,          sem,   $(MANAGERS))
28MANAGERS := $(patsubst dual_ported_memory, dpmem, $(MANAGERS))
29MANAGERS := $(patsubst extension,          ext,   $(MANAGERS))
30
31# allow 'all' to mean all managers
32MANAGERS := $(patsubst all, $(MANAGER_LIST), $(MANAGERS))
33
34# and finally rip out duplicates
35MANAGERS := $(sort $(MANAGERS))
36
37# List (possibly empty) of required managers
38# We require:
39#    region  -- used by lib/libcsupport for malloc()
40#    ext     -- used by libc for libc reentrancy hooks
41
42MANAGERS_REQUIRED=region ext sem
43
44# Create a RTEMS executable based on MANAGERS which was set in
45#  app's Makefile
46
47MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
48        $(MANAGERS_REQUIRED), $(MANAGER_LIST))
49
50# Start file must be one of
51#    $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
52#    $(PROJECT_RELEASE)/lib/asmiface$(LIB_VARIANT).o
53# It defaults to start.o, but an app can override it.
54ifeq ($(START_BASE),)
55  START_FILE=
56else
57  START_FILE=$(PROJECT_RELEASE)/lib/$(START_BASE)$(LIB_VARIANT).o
58endif
59
60# Allow user to override link commands (to build a prom image, perhaps)
61ifndef LINKCMDS
62LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
63endif
Note: See TracBrowser for help on using the repository browser.