sparc: move the install rule to arch/sparc/Makefile
Currently, the install target in arch/sparc/Makefile descends into arch/sparc/boot/Makefile to invoke the shell script, but there is no good reason to do so. arch/sparc/Makefile can run the shell script directly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
e052826ff1
commit
87c3cb564f
@ -72,7 +72,8 @@ image zImage uImage tftpboot.img vmlinux.aout: vmlinux
|
|||||||
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
|
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(Q)$(MAKE) $(build)=$(boot) $@
|
sh $(srctree)/$(boot)/install.sh $(KERNELRELEASE) $(KBUILD_IMAGE) \
|
||||||
|
System.map "$(INSTALL_PATH)"
|
||||||
|
|
||||||
archclean:
|
archclean:
|
||||||
$(Q)$(MAKE) $(clean)=$(boot)
|
$(Q)$(MAKE) $(clean)=$(boot)
|
||||||
|
@ -70,7 +70,3 @@ $(obj)/image: vmlinux FORCE
|
|||||||
$(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE
|
$(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE
|
||||||
$(call if_changed,elftoaout)
|
$(call if_changed,elftoaout)
|
||||||
$(call if_changed,piggy)
|
$(call if_changed,piggy)
|
||||||
|
|
||||||
install:
|
|
||||||
sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(obj)/zImage \
|
|
||||||
System.map "$(INSTALL_PATH)"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user