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

@@ -117,12 +117,12 @@ endif
DOWNEXT=.ralf
define bsp-link-c
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef
define bsp-link-cxx
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef