summaryrefslogtreecommitdiffstats
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
parent2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-11853d0a7e1b0fc5734cc1d082b2d610c6baf578.tar.bz2
Use .srec for files containing SRECs.
-rw-r--r--make/custom/dmv152.cfg4
-rw-r--r--make/custom/i386ex.cfg4
-rw-r--r--make/custom/idp.cfg4
-rw-r--r--make/custom/mcf5235.cfg4
-rw-r--r--make/custom/mrm332.cfg8
-rw-r--r--make/custom/mvme136.cfg4
-rw-r--r--make/custom/mvme147.cfg4
-rw-r--r--make/custom/mvme162.cfg4
-rw-r--r--make/custom/mvme162lx.cfg4
9 files changed, 20 insertions, 20 deletions
diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg
index 2c84e7dd5e..96e0cf5307 100644
--- a/make/custom/dmv152.cfg
+++ b/make/custom/dmv152.cfg
@@ -34,8 +34,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(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) > $@
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
$(SIZE) $(basename $@).nxe
diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg
index 54b482f56d..dd677510e6 100644
--- a/make/custom/i386ex.cfg
+++ b/make/custom/i386ex.cfg
@@ -37,8 +37,8 @@ CFLAGS_OPTIMIZE_V=-O4
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).i
- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
+ $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).srec
+ sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
$(PACKHEX) > $(basename $@).exe
$(NM) -g -n $(basename $@).elf > $(basename $@).num
$(SIZE) $(basename $@).elf
diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg
index 51fab7d742..64005e01a0 100644
--- a/make/custom/idp.cfg
+++ b/make/custom/idp.cfg
@@ -28,8 +28,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(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 $@).nxe > $(basename $@).num
$(SIZE) $(basename $@).nxe
diff --git a/make/custom/mcf5235.cfg b/make/custom/mcf5235.cfg
index dfbe43d57a..65fc5eaf95 100644
--- a/make/custom/mcf5235.cfg
+++ b/make/custom/mcf5235.cfg
@@ -42,8 +42,8 @@ define make-exe
$(SIZE) $(basename $@).nxe
endef
define make-cxx-exe
- $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds \
- -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
+ $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
+ -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe
endef
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
diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg
index 0737af6c53..38bf33cd56 100644
--- a/make/custom/mvme136.cfg
+++ b/make/custom/mvme136.cfg
@@ -29,8 +29,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(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 $@).nxe > $(basename $@).num
$(SIZE) $(basename $@).nxe
diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg
index fe4f5314b1..af8e9d922f 100644
--- a/make/custom/mvme147.cfg
+++ b/make/custom/mvme147.cfg
@@ -26,8 +26,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(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 $@).nxe > $(basename $@).num
$(SIZE) $(basename $@).nxe
diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg
index 51eba3a25a..9e1eb0317e 100644
--- a/make/custom/mvme162.cfg
+++ b/make/custom/mvme162.cfg
@@ -31,8 +31,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
- #$(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
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
diff --git a/make/custom/mvme162lx.cfg b/make/custom/mvme162lx.cfg
index 476e83b001..67604081b4 100644
--- a/make/custom/mvme162lx.cfg
+++ b/make/custom/mvme162lx.cfg
@@ -37,8 +37,8 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
- #$(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
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
$(NM) -g -n $(basename $@).nxe > $(basename $@).num