Commit a65d29225ed884456f3d34dcefd3a18df24af03b

Authored by Russell King
1 parent 2bbd7e9b74

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>

Showing 2 changed files with 6 additions and 1 deletions Side-by-side Diff

... ... @@ -280,7 +280,7 @@
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,6 +301,7 @@
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'
arch/arm/boot/Makefile
... ... @@ -99,6 +99,10 @@
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)"