patch-2.4.25 linux-2.4.25/arch/mips/boot/Makefile
Next file: linux-2.4.25/arch/mips/config-shared.in
Previous file: linux-2.4.25/arch/mips/au1000/pb1550/irqmap.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/boot/Makefile
- Orig date:
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.24/arch/mips/boot/Makefile linux-2.4.25/arch/mips/boot/Makefile
@@ -24,7 +24,7 @@
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)
@@ -32,6 +32,9 @@
elf2ecoff: elf2ecoff.c
$(HOSTCC) -o $@ $^
+vmlinux.srec: $(CONFIGURE) $(TOPDIR)/vmlinux
+ $(OBJCOPY) -S -O srec $(strip-flags) $(TOPDIR)/vmlinux vmlinux.srec
+
addinitrd: addinitrd.c
$(HOSTCC) -o $@ $^
@@ -40,10 +43,12 @@
clean:
rm -f vmlinux.ecoff
+ rm -f vmlinux.srec
rm -f zImage zImage.tmp
mrproper:
rm -f vmlinux.ecoff
+ rm -f vmlinux.srec
rm -f addinitrd
rm -f elf2ecoff
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)