Subject: [PATCH] powerpc: enable make install

From: Akinobu Mita <[email-masked]>
Date: Tue, 10 Apr 2007 20:05:31 +0900

make help on powerpc says make install is available.
But it failed due to no rule to make install.

This patch enables to work make install.

Signed-off-by: Akinobu Mita <[email-masked]>

Index: 2.6-git-ps3/arch/powerpc/Makefile
===================================================================
--- 2.6-git-ps3.orig/arch/powerpc/Makefile
+++ 2.6-git-ps3/arch/powerpc/Makefile
@@ -167,6 +167,9 @@ define archhelp
   @echo '  *_defconfig     - Select default config from arch/$(ARCH)/configs'
 endef
 
+install:
+	$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
+
 archclean:
 	$(Q)$(MAKE) $(clean)=$(boot)
 
Index: 2.6-git-ps3/arch/powerpc/boot/Makefile
===================================================================
--- 2.6-git-ps3.orig/arch/powerpc/boot/Makefile
+++ 2.6-git-ps3/arch/powerpc/boot/Makefile
@@ -192,7 +192,7 @@ $(obj)/zImage:		$(addprefix $(obj)/, $(i
 $(obj)/zImage.initrd:	$(addprefix $(obj)/, $(initrd-y))
 	@rm -f $@; ln $< $@
 
-install: $(CONFIGURE) $(image-y)
+install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y))
 	sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $<
 
 clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.strip.gz)