Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+11 -1
+7 -1
arch/mips/Makefile
··· 774 774 all: vmlinux.srec 775 775 endif 776 776 777 + ifdef CONFIG_QEMU 778 + all: vmlinux.bin 779 + endif 780 + 777 781 ifdef CONFIG_SNI_RM200_PCI 778 782 all: vmlinux.ecoff 779 783 endif 784 + 785 + vmlinux.bin: $(vmlinux-32) 786 + +@$(call makeboot,$@) 780 787 781 788 vmlinux.ecoff vmlinux.rm200: $(vmlinux-32) 782 789 +@$(call makeboot,$@) ··· 799 792 archclean: 800 793 @$(MAKE) $(clean)=arch/mips/boot 801 794 @$(MAKE) $(clean)=arch/mips/lasat 802 - 803 795 804 796 CLEAN_FILES += vmlinux.32 \ 805 797 vmlinux.64 \
+4
arch/mips/boot/Makefile
··· 33 33 $(obj)/elf2ecoff: $(obj)/elf2ecoff.c 34 34 $(HOSTCC) -o $@ $^ 35 35 36 + vmlinux.bin: $(VMLINUX) 37 + $(OBJCOPY) -O binary $(strip-flags) $(VMLINUX) $(obj)/vmlinux.bin 38 + 36 39 vmlinux.srec: $(VMLINUX) 37 40 $(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec 38 41 ··· 48 45 49 46 clean-files += addinitrd \ 50 47 elf2ecoff \ 48 + vmlinux.bin \ 51 49 vmlinux.ecoff \ 52 50 vmlinux.srec