]> err.no Git - linux-2.6/commitdiff
[POWERPC] Enable make install
authorAkinobu Mita <mita@fixstars.com>
Tue, 10 Apr 2007 11:05:31 +0000 (21:05 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 27 Apr 2007 11:13:43 +0000 (21:13 +1000)
make help on powerpc says make install is available.
But it failed due to no rule to make install.

This patch enables make install to work.

Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile
arch/powerpc/boot/Makefile

index 26788de1cc59e09c9c6d23eac8401daf623f3778..794992025d8de94222fe26e5c90592d8f2a6a42e 100644 (file)
@@ -166,6 +166,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 3e172ff4fabbb44078175cbee0978ebac3ab7020..1269b49481ec5804f6ce7e11389bf108d9a5f250 100644 (file)
@@ -176,7 +176,7 @@ $(obj)/zImage:              $(addprefix $(obj)/, $(image-y))
 $(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)" $<
 
 # anything not in $(targets)