summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-13 23:21:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-13 23:21:34 +0000
commit7c67be45de778c72e6db98aa3e8696bf4facc3ad (patch)
tree3963ac1f95464a93a8ab71d4431bcd23fa1fad36
parent4f52e9921680054068b82394ffad48703f7de36a (diff)
downloadrtems-7c67be45de778c72e6db98aa3e8696bf4facc3ad.tar.bz2
2001-11-13 Joel Sherrill <joel@OARcorp.com>
* custom/helas403.cfg, custom/gen405.cfg: Removed dependency on the --srec-len argument to objcopy only supported in binutils 2.11 or newer.
-rw-r--r--make/ChangeLog6
-rw-r--r--make/custom/gen405.cfg6
-rw-r--r--make/custom/helas403.cfg5
3 files changed, 13 insertions, 4 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index c997180f08..b2677656cb 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,4 +1,10 @@
+2001-11-13 Joel Sherrill <joel@OARcorp.com>
+
+ * custom/helas403.cfg, custom/gen405.cfg: Removed dependency on
+ the --srec-len argument to objcopy only supported in binutils 2.11
+ or newer.
+
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
diff --git a/make/custom/gen405.cfg b/make/custom/gen405.cfg
index 5e7c81416b..09d01162f8 100644
--- a/make/custom/gen405.cfg
+++ b/make/custom/gen405.cfg
@@ -66,17 +66,19 @@ define make-exe
$(SIZE) $@
endef
else
+# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
endif
+# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
define make-cxx-exe
$(LINK.c) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg
index e1c4fa93f7..e5fe15ded5 100644
--- a/make/custom/helas403.cfg
+++ b/make/custom/helas403.cfg
@@ -60,15 +60,16 @@ define make-exe
--defsym __fini=0 --defsym __init=0 \
-o $@ -u atexit -u __vectors -u download_entry \
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
- $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
else
+# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
+ $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef