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

ARM: 9102/1: move theinstall rules to arch/arm/Makefile

Currently, the (z/u)install targets in arch/arm/Makefile descend into
arch/arm/boot/Makefile to invoke the shell script, but there is no
good reason to do so.

arch/arm/Makefile can run the shell script directly.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

authored by

Masahiro Yamada and committed by
Russell King (Oracle)
d7bcc5e2 b08cae33

+3 -14
+2 -1
arch/arm/Makefile
··· 308 308 @$(kecho) ' Kernel: $(boot)/$@ is ready' 309 309 310 310 $(INSTALL_TARGETS): 311 - $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ 311 + $(CONFIG_SHELL) $(srctree)/$(boot)/install.sh "$(KERNELRELEASE)" \ 312 + $(boot)/$(patsubst %install,%Image,$@) System.map "$(INSTALL_PATH)" 312 313 313 314 PHONY += vdso_install 314 315 vdso_install:
+1 -13
arch/arm/boot/Makefile
··· 96 96 $(obj)/bootpImage: $(obj)/bootp/bootp FORCE 97 97 $(call if_changed,objcopy) 98 98 99 - PHONY += initrd install zinstall uinstall 99 + PHONY += initrd 100 100 initrd: 101 101 @test "$(INITRD_PHYS)" != "" || \ 102 102 (echo This machine does not support INITRD; exit -1) 103 103 @test "$(INITRD)" != "" || \ 104 104 (echo You must specify INITRD; exit -1) 105 - 106 - install: 107 - $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \ 108 - $(obj)/Image System.map "$(INSTALL_PATH)" 109 - 110 - zinstall: 111 - $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \ 112 - $(obj)/zImage System.map "$(INSTALL_PATH)" 113 - 114 - uinstall: 115 - $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \ 116 - $(obj)/uImage System.map "$(INSTALL_PATH)" 117 105 118 106 subdir- := bootp compressed dts