summaryrefslogtreecommitdiffstats
path: root/make/leaf.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-09 16:30:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-09 16:30:27 +0000
commitfb2205a11b25796f47b950ab64ff9e2446a55301 (patch)
tree3bb753046b5e04242289a71ffb8361c93e6fb271 /make/leaf.cfg
parent5aa18556b5b7baecfefc5b426d9c5f75679266fe (diff)
downloadrtems-fb2205a11b25796f47b950ab64ff9e2446a55301.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--make/leaf.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 218dcdc4cc..4515951bc8 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -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