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

ARM: add 'uinstall' target for installing uboot kernels

We have 'install' and 'zinstall' for installing Image and zImage
kernels, so add 'uinstall' to complete the set.

This allows developers to have a ~/bin/installkernel script which (eg)
copies the kernel to the tftp server automatically once the kernel
has built, resulting in a better workflow.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

+6 -1
+2 -1
arch/arm/Makefile
··· 280 280 zImage Image xipImage bootpImage uImage: vmlinux 281 281 $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ 282 282 283 - zinstall install: vmlinux 283 + zinstall uinstall install: vmlinux 284 284 $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ 285 285 286 286 # We use MRPROPER_FILES and CLEAN_FILES now ··· 301 301 echo ' (supply initrd image via make variable INITRD=<path>)' 302 302 echo ' install - Install uncompressed kernel' 303 303 echo ' zinstall - Install compressed kernel' 304 + echo ' uinstall - Install U-Boot wrapped compressed kernel' 304 305 echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' 305 306 echo ' (distribution) /sbin/$(INSTALLKERNEL) or' 306 307 echo ' install to $$(INSTALL_PATH) and run lilo'
+4
arch/arm/boot/Makefile
··· 99 99 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 100 100 $(obj)/zImage System.map "$(INSTALL_PATH)" 101 101 102 + uinstall: $(obj)/uImage 103 + $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 104 + $(obj)/uImage System.map "$(INSTALL_PATH)" 105 + 102 106 zi: 103 107 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 104 108 $(obj)/zImage System.map "$(INSTALL_PATH)"