mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg, custom/default.cfg.in: Eliminate START_BASE and START_FILE.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* leaf.cfg, compilers/gcc-target-default.cfg, custom/default.cfg.in:
|
||||
Eliminate START_BASE and START_FILE.
|
||||
|
||||
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
|
||||
|
||||
@@ -158,17 +158,6 @@ depend: depend-am
|
||||
# spell out all the LINK_FILE's, rather than using -lbsp, so
|
||||
# that $(LINK_FILES) can be a dependency
|
||||
|
||||
# Start file must be one of
|
||||
# $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
|
||||
# $(PROJECT_RELEASE)/lib/asmiface$(LIB_VARIANT).o
|
||||
# It defaults to start.o, but an app can override it.
|
||||
|
||||
ifeq ($(START_BASE),)
|
||||
START_FILE=
|
||||
else
|
||||
START_FILE=$(PROJECT_RELEASE)/lib/$(START_BASE)$(LIB_VARIANT).o
|
||||
endif
|
||||
|
||||
#
|
||||
# NOTE: a rule to link an rtems' application should look similar to this
|
||||
# (cf. "make-exe" in make/custom/*.cfg):
|
||||
@@ -184,7 +173,6 @@ LINK_OBJS =\
|
||||
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
|
||||
|
||||
LINK_FILES =\
|
||||
$(START_FILE) \
|
||||
$(CONSTRUCTOR) \
|
||||
$(OBJS) \
|
||||
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# Base name of start file
|
||||
START_BASE=start
|
||||
|
||||
@@ -44,16 +44,6 @@ MANAGERS_REQUIRED=
|
||||
MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
|
||||
$(MANAGERS_REQUIRED), $(MANAGER_LIST))
|
||||
|
||||
# Start file must be one of
|
||||
# $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
|
||||
# $(PROJECT_RELEASE)/lib/asmiface$(LIB_VARIANT).o
|
||||
# It defaults to start.o, but an app can override it.
|
||||
ifeq ($(START_BASE),)
|
||||
START_FILE=
|
||||
else
|
||||
START_FILE=$(PROJECT_RELEASE)/lib/$(START_BASE)$(LIB_VARIANT).o
|
||||
endif
|
||||
|
||||
# Allow user to override link commands (to build a prom image, perhaps)
|
||||
ifndef LINKCMDS
|
||||
LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
|
||||
|
||||
Reference in New Issue
Block a user