summaryrefslogtreecommitdiffstats
path: root/make/custom/helas403.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-09 00:08:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-09 00:08:13 +0000
commit1a98a0d66ac861c2f724dbed9ca3f0628252e9a1 (patch)
tree52d8288d5c00cddc432392f7105e4ec7e3b1c38e /make/custom/helas403.cfg
parent2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se> (diff)
downloadrtems-1a98a0d66ac861c2f724dbed9ca3f0628252e9a1.tar.bz2
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to support the IBM PPC405 family. This submission was reviewed by Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did not negatively impact the ppc403 BSPs. The submission and tracking process was captured as PR50. * custom/gen405.cfg: New file. * custom/helas403.cfg: Modified to generate Srecords.
Diffstat (limited to 'make/custom/helas403.cfg')
-rw-r--r--make/custom/helas403.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg
index 02758eaa23..e1c4fa93f7 100644
--- a/make/custom/helas403.cfg
+++ b/make/custom/helas403.cfg
@@ -60,6 +60,7 @@ 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
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
@@ -67,6 +68,7 @@ else
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
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef