diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-08 11:18:51 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-23 12:24:13 -0500 |
commit | a65d29225ed884456f3d34dcefd3a18df24af03b (patch) | |
tree | c0f5c1b1e985398913fd7e5622b3d5cc1c2b9380 /arch/arm | |
parent | 2bbd7e9b74271b2d6a14b4840fc44afbea83774d (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/boot/Makefile | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index c22c1adfedd6..da525bc96145 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -280,7 +280,7 @@ bzImage: zImage | |||
280 | zImage Image xipImage bootpImage uImage: vmlinux | 280 | zImage Image xipImage bootpImage uImage: vmlinux |
281 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | 281 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
282 | 282 | ||
283 | zinstall install: vmlinux | 283 | zinstall uinstall install: vmlinux |
284 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 284 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
285 | 285 | ||
286 | # We use MRPROPER_FILES and CLEAN_FILES now | 286 | # We use MRPROPER_FILES and CLEAN_FILES now |
@@ -301,6 +301,7 @@ define archhelp | |||
301 | echo ' (supply initrd image via make variable INITRD=<path>)' | 301 | echo ' (supply initrd image via make variable INITRD=<path>)' |
302 | echo ' install - Install uncompressed kernel' | 302 | echo ' install - Install uncompressed kernel' |
303 | echo ' zinstall - Install compressed kernel' | 303 | echo ' zinstall - Install compressed kernel' |
304 | echo ' uinstall - Install U-Boot wrapped compressed kernel' | ||
304 | echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' | 305 | echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' |
305 | echo ' (distribution) /sbin/$(INSTALLKERNEL) or' | 306 | echo ' (distribution) /sbin/$(INSTALLKERNEL) or' |
306 | echo ' install to $$(INSTALL_PATH) and run lilo' | 307 | echo ' install to $$(INSTALL_PATH) and run lilo' |
diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 4d26f2c52a75..9128fddf1109 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile | |||
@@ -99,6 +99,10 @@ zinstall: $(obj)/zImage | |||
99 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ | 99 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ |
100 | $(obj)/zImage System.map "$(INSTALL_PATH)" | 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 | zi: | 106 | zi: |
103 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ | 107 | $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ |
104 | $(obj)/zImage System.map "$(INSTALL_PATH)" | 108 | $(obj)/zImage System.map "$(INSTALL_PATH)" |