Update of /cvsroot/linux-mips/linux/arch/mips/boot
In directory usw-pr-cvs1:/tmp/cvs-serv25062/boot
Modified Files:
Makefile
Log Message:
Add a vmlinux.srec target.
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/boot/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile 10 Dec 2001 17:39:08 -0000 1.3
+++ Makefile 5 Jun 2002 14:19:57 -0000 1.4
@@ -29,11 +29,14 @@
drop-sections = .reginfo .mdebug
strip-flags = $(addprefix --remove-section=,$(drop-sections))
-all: vmlinux.ecoff addinitrd
+all: vmlinux.ecoff vmlinux.srec addinitrd
vmlinux.ecoff: $(CONFIGURE) elf2ecoff $(TOPDIR)/vmlinux
./elf2ecoff $(TOPDIR)/vmlinux vmlinux.ecoff $(E2EFLAGS)
+vmlinux.srec: $(CONFIGURE) $(TOPDIR)/vmlinux
+ $(OBJCOPY) -S -O srec $(strip-flags) $(TOPDIR)/vmlinux vmlinux.srec
+
elf2ecoff: elf2ecoff.c
$(HOSTCC) -o $@ $^
@@ -49,6 +52,7 @@
clean:
rm -f vmlinux.ecoff
+ rm -f vmlinux.srec
rm -f zImage zImage.tmp
rm -f vmlinux-stripped
|