Skip to contentSkip to conversation

sparc: Add "install" target

PATCH New David L Stevens 1 participant 1 message Jul 25, 2014 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: Add "install" target

This patches adds an "install" target to install kernel builds for SPARC, modeled after the i386 script.

---
 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
index 9ff4236..eaee146 100644
@@ -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
index 6e63afb..6a4ceae 100644
@@ -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