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:
Joel Sherrill
2008-09-18 17:34:06 +00:00
parent 15043ea98a
commit 5e30d590ba
4 changed files with 5 additions and 24 deletions

View File

@@ -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

View File

@@ -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) \

View File

@@ -2,5 +2,3 @@
# $Id$
#
# Base name of start file
START_BASE=start

View File

@@ -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