Re: powerpc: "make install" broken

From: Sam Ravnborg
Date: Sat Aug 12 2006 - 10:32:59 EST


On Sat, Aug 12, 2006 at 04:29:38PM +0200, Alex Riesen wrote:
> I don't know if ever worked before, just tried today on v2.6.17.
> Maybe it works, but then it is very different to i386
> where it is plain "make install".
>
> I copied the implementation attached from i386 (modified a bit), which
> fixed it for me. Maybe the patch will motivate someone to fix it properly...

> From d3d4be5563c68b967841b17cf5557df5d7bfc4dd Mon Sep 17 00:00:00 2001
> From: Alex Riesen <raa.lkml@xxxxxxxxx>
> Date: Sat, 12 Aug 2006 15:38:42 +0200
> Subject: [PATCH] fix make install on ppc
>
> ---
> arch/powerpc/Makefile | 3 +++
> arch/powerpc/boot/Makefile | 4 ++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
> index ed5b26a..d2c530d 100644
> --- a/arch/powerpc/Makefile
> +++ b/arch/powerpc/Makefile
> @@ -156,6 +156,9 @@ boot := arch/$(ARCH)/boot
> $(BOOT_TARGETS): vmlinux
> $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
>
> +install: vmlinux
> + $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
NACK - the install target shall not try to build the kernel - the
vmlinux dependency is long gone from i386.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/