summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/gen405.cfg6
-rw-r--r--make/custom/helas403.cfg5
2 files changed, 7 insertions, 4 deletions
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