linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: enable make install
@ 2007-04-10 11:05 Akinobu Mita
  0 siblings, 0 replies; only message in thread
From: Akinobu Mita @ 2007-04-10 11:05 UTC (permalink / raw)
  To: linuxppc-dev

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 <mita@fixstars.com>

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-10 11:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 11:05 [PATCH] powerpc: enable make install Akinobu Mita

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).