From 49726bbb67de08a1c752af7d13ba5ff13f4612ac Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 22 Jul 2005 05:46:02 +0000 Subject: [PATCH] --- yaml --- r: 11171 b: refs/heads/master c: 154b500b1981a8053a15cd8e749a955a9bb60006 h: refs/heads/master i: 11169: f3f2785605239fd1b7a30ab47bf177ed8d02bb44 11167: ad309d2815114be578f50c8bc01499eabfae8814 v: v3 --- [refs] | 2 +- trunk/arch/mips/Makefile | 8 +++++++- trunk/arch/mips/boot/Makefile | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2c81e6755a06..bb53f8d639c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 +refs/heads/master: 154b500b1981a8053a15cd8e749a955a9bb60006 diff --git a/trunk/arch/mips/Makefile b/trunk/arch/mips/Makefile index d62787ab9fff..9c91e70d8ee2 100644 --- a/trunk/arch/mips/Makefile +++ b/trunk/arch/mips/Makefile @@ -774,10 +774,17 @@ ifdef CONFIG_MIPS_SEAD all: vmlinux.srec endif +ifdef CONFIG_QEMU +all: vmlinux.bin +endif + ifdef CONFIG_SNI_RM200_PCI all: vmlinux.ecoff endif +vmlinux.bin: $(vmlinux-32) + +@$(call makeboot,$@) + vmlinux.ecoff vmlinux.rm200: $(vmlinux-32) +@$(call makeboot,$@) @@ -793,7 +800,6 @@ archclean: @$(MAKE) $(clean)=arch/mips/boot @$(MAKE) $(clean)=arch/mips/lasat - CLEAN_FILES += vmlinux.32 \ vmlinux.64 \ vmlinux.ecoff diff --git a/trunk/arch/mips/boot/Makefile b/trunk/arch/mips/boot/Makefile index efbeac326815..0dc84417bf49 100644 --- a/trunk/arch/mips/boot/Makefile +++ b/trunk/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