forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
3ce86ee14b
commit
154b500b19
|
@ -774,10 +774,17 @@ ifdef CONFIG_MIPS_SEAD
|
||||||
all: vmlinux.srec
|
all: vmlinux.srec
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_QEMU
|
||||||
|
all: vmlinux.bin
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_SNI_RM200_PCI
|
ifdef CONFIG_SNI_RM200_PCI
|
||||||
all: vmlinux.ecoff
|
all: vmlinux.ecoff
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
vmlinux.bin: $(vmlinux-32)
|
||||||
|
+@$(call makeboot,$@)
|
||||||
|
|
||||||
vmlinux.ecoff vmlinux.rm200: $(vmlinux-32)
|
vmlinux.ecoff vmlinux.rm200: $(vmlinux-32)
|
||||||
+@$(call makeboot,$@)
|
+@$(call makeboot,$@)
|
||||||
|
|
||||||
|
@ -793,7 +800,6 @@ archclean:
|
||||||
@$(MAKE) $(clean)=arch/mips/boot
|
@$(MAKE) $(clean)=arch/mips/boot
|
||||||
@$(MAKE) $(clean)=arch/mips/lasat
|
@$(MAKE) $(clean)=arch/mips/lasat
|
||||||
|
|
||||||
|
|
||||||
CLEAN_FILES += vmlinux.32 \
|
CLEAN_FILES += vmlinux.32 \
|
||||||
vmlinux.64 \
|
vmlinux.64 \
|
||||||
vmlinux.ecoff
|
vmlinux.ecoff
|
||||||
|
|
|
@ -33,6 +33,9 @@ vmlinux.ecoff: $(obj)/elf2ecoff $(VMLINUX)
|
||||||
$(obj)/elf2ecoff: $(obj)/elf2ecoff.c
|
$(obj)/elf2ecoff: $(obj)/elf2ecoff.c
|
||||||
$(HOSTCC) -o $@ $^
|
$(HOSTCC) -o $@ $^
|
||||||
|
|
||||||
|
vmlinux.bin: $(VMLINUX)
|
||||||
|
$(OBJCOPY) -O binary $(strip-flags) $(VMLINUX) $(obj)/vmlinux.bin
|
||||||
|
|
||||||
vmlinux.srec: $(VMLINUX)
|
vmlinux.srec: $(VMLINUX)
|
||||||
$(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec
|
$(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec
|
||||||
|
|
||||||
|
@ -45,5 +48,6 @@ archhelp:
|
||||||
|
|
||||||
clean-files += addinitrd \
|
clean-files += addinitrd \
|
||||||
elf2ecoff \
|
elf2ecoff \
|
||||||
|
vmlinux.bin \
|
||||||
vmlinux.ecoff \
|
vmlinux.ecoff \
|
||||||
vmlinux.srec
|
vmlinux.srec
|
||||||
|
|
Loading…
Reference in New Issue
Block a user