summary refs log tree commit diff
path: root/arch/mips/boot/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-22 05:46:02 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:56 +0100
commit154b500b1981a8053a15cd8e749a955a9bb60006 (patch)
tree5e54300cc5e4cc3c63e47fa5c6d36590f4519786 /arch/mips/boot/Makefile
parent3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 (diff)
downloadlinux-154b500b1981a8053a15cd8e749a955a9bb60006.tar.gz
commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e
Author: Ralf Baechle <ralf@linux-mips.org>
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 <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/Makefile')
-rw-r--r--arch/mips/boot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile
index efbeac326815..0dc84417bf49 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