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