summaryrefslogtreecommitdiffstats
path: root/make/custom/genmcf548x.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/custom/genmcf548x.cfg
parent2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com> (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 'make/custom/genmcf548x.cfg')
-rw-r--r--make/custom/genmcf548x.cfg22
1 files changed, 5 insertions, 17 deletions
diff --git a/make/custom/genmcf548x.cfg b/make/custom/genmcf548x.cfg
index 680ac6d0d2..480a7a4c40 100644
--- a/make/custom/genmcf548x.cfg
+++ b/make/custom/genmcf548x.cfg
@@ -21,22 +21,10 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
#MTARGET=ram
#endif
+LDFLAGS = -qnolinkcmds -Wl,-T$(RTEMS_LINKCMDS)
-# The following are definitions of make-exe which will work using ld as
-# is currently required.
-
-
-define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
- $(LINK_OBJS) $(LINK_LIBS) -qnolinkcmds -Wl,-T$(RTEMS_LINKCMDS)
- $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
+define bsp-post-link
+ $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
+ $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
endef
-define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
- $(LINK_OBJS) $(LINK_LIBS) -qnolinkcmds -Wl,-T$(RTEMS_LINKCMDS)
- $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
- $(SIZE) $(basename $@).nxe
-endef
-
-# Miscellaneous additions go here