diff options
author | Akinobu Mita <mita@fixstars.com> | 2007-04-10 07:05:31 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 07:13:43 -0400 |
commit | 928370c676729df118f15939ef69b540a7b946b1 (patch) | |
tree | 474c7e7318fd6ce5e14a4a6062c8c0311a696054 | |
parent | 57647a4dada06bb4d4056e57b4dcb79c4c8bb191 (diff) |
[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 make install to work.
Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/Makefile | 3 | ||||
-rw-r--r-- | arch/powerpc/boot/Makefile | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 26788de1cc59..794992025d8d 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -166,6 +166,9 @@ define archhelp | |||
166 | @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' | 166 | @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' |
167 | endef | 167 | endef |
168 | 168 | ||
169 | install: | ||
170 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | ||
171 | |||
169 | archclean: | 172 | archclean: |
170 | $(Q)$(MAKE) $(clean)=$(boot) | 173 | $(Q)$(MAKE) $(clean)=$(boot) |
171 | 174 | ||
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 3e172ff4fabb..1269b49481ec 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -176,7 +176,7 @@ $(obj)/zImage: $(addprefix $(obj)/, $(image-y)) | |||
176 | $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y)) | 176 | $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y)) |
177 | @rm -f $@; ln $< $@ | 177 | @rm -f $@; ln $< $@ |
178 | 178 | ||
179 | install: $(CONFIGURE) $(image-y) | 179 | install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y)) |
180 | sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $< | 180 | sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $< |
181 | 181 | ||
182 | # anything not in $(targets) | 182 | # anything not in $(targets) |