2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>

* leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg,
	custom/gen5200.cfg, custom/gen83xx.cfg, custom/genmcf548x.cfg,
	custom/mbx8xx.cfg, custom/mpc55xx.cfg, custom/nds.cfg,
	custom/pc386.cfg, custom/tqm8xx.cfg: Remove use of AM_LDFLAGS. Ensure
	LDFLAGS works all the time. Clean up BSPs which defined their own
	make-exe rules inappropriately.
This commit is contained in:
Joel Sherrill
2008-09-09 16:30:27 +00:00
parent 5aa18556b5
commit fb2205a11b
12 changed files with 26 additions and 69 deletions

View File

@@ -68,30 +68,13 @@ endif
# List of library paths without -L
LD_PATHS= $(PROJECT_RELEASE)/lib
# libraries you want EVERYONE to link with
#LD_LIBS=
# ld flag to ensure pure-text
#LDFLAGS_MUST_BE_PURE_V =
# ld flag for [un]shared objects
#LDFLAGS_STATIC_LIBRARIES_V =
#LDFLAGS_SHARED_LIBRARIES_V =
# ld flag for incomplete link
LDFLAGS_INCOMPLETE = -r
# Special linker options when building lib.so
LDFLAGS_DYNAMIC_V = ??
# Some dynamic linking systems want the preferred name recorded in the binary
# ref: src/libxil/Makefile
LDFLAGS_DYNAMIC_LIBNAME_V = -h $(DYNAMIC_VERSION_LIBNAME)
# ld flags for profiling, debugging
LDFLAGS_DEBUG_V = -qrtems_debug
LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
LDFLAGS += $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
#
# Stuff to clean and clobber for the compiler and its tools