summaryrefslogtreecommitdiffstats
path: root/make/custom/mrm332.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-22 13:47:43 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-22 13:47:43 +0000
commit11853d0a7e1b0fc5734cc1d082b2d610c6baf578 (patch)
treef5ae551c5f5daaba5ce02d8b243e3b17b8f4830c /make/custom/mrm332.cfg
parent2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-11853d0a7e1b0fc5734cc1d082b2d610c6baf578.tar.bz2
Use .srec for files containing SRECs.
Diffstat (limited to 'make/custom/mrm332.cfg')
-rw-r--r--make/custom/mrm332.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/custom/mrm332.cfg b/make/custom/mrm332.cfg
index 450d632f48..f449e675c1 100644
--- a/make/custom/mrm332.cfg
+++ b/make/custom/mrm332.cfg
@@ -45,8 +45,8 @@ define make-exe
/\.text/ { base = $$4 ; size = $$3 };\
END { printf("0x%x", h2d(base) + h2d(size)) }'\
` $(basename $@).pxe $(basename $@).nxe
- $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
+ $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec
+ sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
$(PACKHEX) > $(basename $@).exe
$(NM) -g -n $(basename $@).pxe > $(basename $@).pnum
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
@@ -56,9 +56,9 @@ else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
+ $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec
# m68k-rtems-objdump -dxC $(basename $@).nxe > $(basename $@).dump
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
+ sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
$(PACKHEX) > $(basename $@).exe
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
$(SIZE) $(basename $@).nxe