Changeset 7e5a481 in rtems for c/src/make/leaf.cfg


Ignore:
Timestamp:
Sep 12, 2000, 8:55:35 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2094513
Parents:
00438014
Message:

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

  • leaf.cfg: Remove include ${CONFIG.CC}, add MANAGERS, START_FILE, LINKCMDS handling.
  • default.cfg.in: Remove everything but START_BASE.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/leaf.cfg

    r00438014 r7e5a481  
    3535MANAGERS := $(sort $(MANAGERS))
    3636
    37 # Pull in the desired "target" compiler
    38 # Programs built on the host use automake generated rules.
    39 # This will not change $(ARCH) -- binaries will still be place as per target
    40 include ${CONFIG.CC}
     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# pull in dependencies if they exist
    4151ifeq (${DEPEND},$(wildcard ${DEPEND}))
    42 include ${DEPEND}                    # pull in dependencies if they exist
     52include ${DEPEND}
    4353endif
     54
     55# Start file must be one of
     56#    $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
     57#    $(PROJECT_RELEASE)/lib/asmiface$(LIB_VARIANT).o
     58# It defaults to start.o, but an app can override it.
     59ifeq ($(START_BASE),)
     60  START_FILE=
     61else
     62  START_FILE=$(PROJECT_RELEASE)/lib/$(START_BASE)$(LIB_VARIANT).o
     63endif
     64
     65# Allow user to override link commands (to build a prom image, perhaps)
     66ifndef LINKCMDS
     67LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
     68endif
Note: See TracChangeset for help on using the changeset viewer.