From 154b500b1981a8053a15cd8e749a955a9bb60006 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 22 Jul 2005 05:46:02 +0000 Subject: commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e Author: Ralf Baechle Date: Fri Jul 22 05:46:02 2005 +0000 New build target vmlinux.bin build raw binary image for Qemu. Signed-off-by: Ralf Baechle --- arch/mips/boot/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/mips/boot') diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index efbeac32681..0dc84417bf4 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -33,6 +33,9 @@ vmlinux.ecoff: $(obj)/elf2ecoff $(VMLINUX) $(obj)/elf2ecoff: $(obj)/elf2ecoff.c $(HOSTCC) -o $@ $^ +vmlinux.bin: $(VMLINUX) + $(OBJCOPY) -O binary $(strip-flags) $(VMLINUX) $(obj)/vmlinux.bin + vmlinux.srec: $(VMLINUX) $(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec @@ -45,5 +48,6 @@ archhelp: clean-files += addinitrd \ elf2ecoff \ + vmlinux.bin \ vmlinux.ecoff \ vmlinux.srec -- cgit v1.2.3