Index: arch/mips/Makefile =================================================================== RCS file: /home/cvs/linux/arch/mips/Makefile,v retrieving revision 1.136 diff -u -r1.136 Makefile --- arch/mips/Makefile 15 Aug 2003 22:44:00 -0000 1.136 +++ arch/mips/Makefile 22 Aug 2003 23:13:40 -0000 @@ -593,7 +593,11 @@ vmlinux.ecoff vmlinux.rm200: vmlinux +@$(call makeboot,$@) +vmlinux.srec: vmlinux + +@$(call makeboot,$@) + CLEAN_FILES += vmlinux.ecoff \ + vmlinux.srec \ vmlinux.rm200.tmp \ vmlinux.rm200 Index: arch/mips/boot/Makefile =================================================================== RCS file: /home/cvs/linux/arch/mips/boot/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- arch/mips/boot/Makefile 9 Mar 2003 13:58:13 -0000 1.22 +++ arch/mips/boot/Makefile 22 Aug 2003 23:13:40 -0000 @@ -22,7 +22,7 @@ drop-sections = .reginfo .mdebug .comment .note strip-flags = $(addprefix --remove-section=,$(drop-sections)) -all: vmlinux.ecoff addinitrd +all: vmlinux.ecoff vmlinux.srec addinitrd vmlinux.rm200: vmlinux $(OBJCOPY) \ @@ -37,6 +37,9 @@ $(obj)/elf2ecoff: $(obj)/elf2ecoff.c $(HOSTCC) -o $@ $^ +vmlinux.srec: vmlinux + $(OBJCOPY) -S -O srec $(strip-flags) vmlinux $(obj)/vmlinux.srec + $(obj)/addinitrd: $(obj)/addinitrd.c $(HOSTCC) -o $@ $^ @@ -46,6 +49,7 @@ CLEAN_FILES += addinitrd \ elf2ecoff \ vmlinux.ecoff \ + vmlinux.srec \ vmlinux.rm200 \ zImage.tmp \ zImage