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

Blackfin: add an uncompressed vmImage target

This is useful for quick tests where networks are faster than compression,
and/or the compression code is broken.

Reported-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

+7 -2
+2 -1
arch/blackfin/Makefile
··· 137 137 138 138 INSTALL_PATH ?= /tftpboot 139 139 boot := arch/$(ARCH)/boot 140 - BOOT_TARGETS = vmImage vmImage.bz2 vmImage.gz vmImage.lzma 140 + BOOT_TARGETS = vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma 141 141 PHONY += $(BOOT_TARGETS) install 142 142 KBUILD_IMAGE := $(boot)/vmImage 143 143 ··· 151 151 152 152 define archhelp 153 153 echo '* vmImage - Alias to selected kernel format (vmImage.gz by default)' 154 + echo ' vmImage.bin - Uncompressed Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bin)' 154 155 echo ' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)' 155 156 echo '* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)' 156 157 echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)'
+5 -1
arch/blackfin/boot/Makefile
··· 8 8 9 9 MKIMAGE := $(srctree)/scripts/mkuboot.sh 10 10 11 - targets := vmImage vmImage.bz2 vmImage.gz vmImage.lzma 11 + targets := vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma 12 12 extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma 13 13 14 14 quiet_cmd_uimage = UIMAGE $@ ··· 29 29 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE 30 30 $(call if_changed,lzma) 31 31 32 + $(obj)/vmImage.bin: $(obj)/vmlinux.bin 33 + $(call if_changed,uimage,none) 34 + 32 35 $(obj)/vmImage.bz2: $(obj)/vmlinux.bin.bz2 33 36 $(call if_changed,uimage,bzip2) 34 37 ··· 41 38 $(obj)/vmImage.lzma: $(obj)/vmlinux.bin.lzma 42 39 $(call if_changed,uimage,lzma) 43 40 41 + suffix-y := bin 44 42 suffix-$(CONFIG_KERNEL_GZIP) := gz 45 43 suffix-$(CONFIG_KERNEL_BZIP2) := bz2 46 44 suffix-$(CONFIG_KERNEL_LZMA) := lzma