sparc: Add "install" target
PATCH 1/1 sparc: Add "install" target
This patches adds an "install" target to install kernel builds for SPARC, modeled after the i386 script.
Signed-off-by David L Stevens <[email protected]>
--- arch/sparc/Makefile | 3 ++ arch/sparc/boot/Makefile | 4 +++ arch/sparc/boot/install.sh | 51 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 0 deletions(-) create mode 100644 arch/sparc/boot/install.sh
arch/sparc/Makefile +3 -0
@@ -68,6 +68,9 @@ all: zImage image zImage uImage tftpboot.img vmlinux.aout: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ +install: + $(Q)$(MAKE) $(build)=$(boot) $@ + archclean: $(Q)$(MAKE) $(clean)=$(boot)
arch/sparc/boot/Makefile +4 -0
@@ -69,3 +69,7 @@ $(obj)/image: vmlinux FORCE $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE $(call if_changed,elftoaout) $(call if_changed,piggy) + +install: + sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(obj)/zImage \ + System.map "$(INSTALL_PATH)"
arch/sparc/boot/install.sh new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.7.1