summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-08-05 04:45:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-08-05 04:45:02 +0000
commit06119b83baef44ada805ce56c5960e0f9d8771d8 (patch)
tree2ed5bd04811d76c65fccae4bb0f87d1dc1a8ffb9 /make
parent2007-08-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-06119b83baef44ada805ce56c5960e0f9d8771d8.tar.bz2
2007-08-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/mcf5235.cfg: Remove bogus -m5200 from linker calls.
Diffstat (limited to 'make')
-rw-r--r--make/ChangeLog1
-rw-r--r--make/custom/mcf5235.cfg4
2 files changed, 3 insertions, 2 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 9f676a71da..aad6908482 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,5 +1,6 @@
2007-08-05 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * custom/mcf5235.cfg: Remove bogus -m5200 from linker calls.
* custom/av5282.cfg: Remove bogus -qnolinkcmds, -m5200 from linker
calls.
* custom/gen83xx.cfg: Use -O2.
diff --git a/make/custom/mcf5235.cfg b/make/custom/mcf5235.cfg
index f3539837ae..d1532f0643 100644
--- a/make/custom/mcf5235.cfg
+++ b/make/custom/mcf5235.cfg
@@ -33,13 +33,13 @@ endif
# is currently required.
define make-exe
- $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe
endef
define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
+ $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe