Skip to contentSkip to conversation

powerpc: enable make install

PATCH New Akinobu Mita 1 participant 1 message Apr 10, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: enable make install

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.

arch/powerpc/Makefile +3 -0
Index: 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)
 
arch/powerpc/boot/Makefile +1 -1
Index: 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)