Changeset 7e5a481 in rtems


Ignore:
Timestamp:
Sep 12, 2000, 8:55:35 PM (21 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.
Location:
c/src/make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/ChangeLog

    r00438014 r7e5a481  
     12000-09-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * leaf.cfg: Remove include ${CONFIG.CC}, add MANAGERS, START_FILE,
     4        LINKCMDS handling.
     5        * default.cfg.in: Remove everything but START_BASE.
     6
    172000-08-10      Joel Sherrill <joel@OARcorp.com>
    28
  • c/src/make/custom/default.cfg.in

    r00438014 r7e5a481  
    1 # Default target settings
    2 #
    3 # Some of these values are redefined in the target specific .cfg files.
    4 #
    5 # Created by Jiri Gaisler, 16-03-97  (who is owed a debt of gratitude
    6 #   for converting RTEMS to autoconf.  Thanks. --joel)
    71#
    82#  $Id$
    93#
    104
    11 include $(RTEMS_ROOT)/../make/target.cfg
    12 include $(RTEMS_ROOT)/make/host.cfg
    13 
    14 include $(RTEMS_ROOT)/make/bsp.cfg
    15 
    16 ## Target compiler config file, if any
    17 CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    18 
    195# Base name of start file
    206START_BASE=start
  • 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.