OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [make/] [leaf.cfg] - Blame information for rev 1779

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  leaf.cfg,v 1.4 2000/09/13 13:08:36 joel Exp
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
 
17
MANAGER_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
 
23
MANAGERS := $(patsubst message,            msg,   $(MANAGERS))
24
MANAGERS := $(patsubst multi_processor,    mp,    $(MANAGERS))
25
MANAGERS := $(patsubst partition,          part,  $(MANAGERS))
26
MANAGERS := $(patsubst rate_monotonic,     rtmon, $(MANAGERS))
27
MANAGERS := $(patsubst semaphore,          sem,   $(MANAGERS))
28
MANAGERS := $(patsubst dual_ported_memory, dpmem, $(MANAGERS))
29
MANAGERS := $(patsubst extension,          ext,   $(MANAGERS))
30
 
31
# allow 'all' to mean all managers
32
MANAGERS := $(patsubst all, $(MANAGER_LIST), $(MANAGERS))
33
 
34
# and finally rip out duplicates
35
MANAGERS := $(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
 
42
MANAGERS_REQUIRED=region ext sem
43
 
44
# Create a RTEMS executable based on MANAGERS which was set in
45
#  app's Makefile
46
 
47
MANAGERS_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.
54
ifeq ($(START_BASE),)
55
  START_FILE=
56
else
57
  START_FILE=$(PROJECT_RELEASE)/lib/$(START_BASE)$(LIB_VARIANT).o
58
endif
59
 
60
# Allow user to override link commands (to build a prom image, perhaps)
61
ifndef LINKCMDS
62
LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
63
endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.