Bug#337321: kernel-package: Fails to build ppc64 2.6.14 kernel
clone 337321 -1
reassign -1 kernel-package
tags -1 + pacth
thanks
On Thu, Nov 10, 2005 at 11:21:15AM +0100, Juergen Kreileder wrote:
> Sven Luther wrote:
> >Please, tell us what kernel you are trying to build, and what is your
> >.config.
>
> I can't get to the machine right now but the problem probably is caused
> by the fact that my config only has PMAC relevant stuff, ie. I have
> CONFIG_PPC_PMAC but not CONFIG_PPC_PSERIES, CONFIG_PPC_MAPLE, ...
>
> That restricts boottargets-y to just zImage.vmode and zImage.initrd.vmode.
>
> Kernel is 2.6.14 vanilla.
This is indeed a k-p build
> >BTW, why don't you use plain vmlinux with yaboot anyway ?
>
> I've built ppc64 kernels with vmlinux manually up to now. I just
> came to zImage because make-kpkg tried to build one.
Ok.
Well, this will be fixed in the 10.00x packages, but in the meantime, you can
applyt the following patch, which modifies /usr/share/kernel-package/rules,
and should fix your problem.
Manoj, this patch is against 9.008.4 or older, i will provide you with a newer
one against 10.00x nextly.
> >Mmm, so when can we expect a newer powerpc blackdown java suite ?
> >
> >:)
>
> No date yet, my time for this port is a bit limited currently :-/
Too bad, thankfully the free javas are progressing, and there is the IBM jdk.
Friendly,
Sven Luther
--- /usr/share/kernel-package/rules.orig 2005-11-10 10:30:40.000000000 +0000
+++ /usr/share/kernel-package/rules 2005-11-10 10:32:03.000000000 +0000
@@ -335,6 +335,7 @@
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc powerpc64))
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc64))
KERNEL_ARCH:=ppc64
+ target := vmlinux
endif
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc))
KERNEL_ARCH:=ppc
@@ -342,9 +343,9 @@
IMAGE_POST_PROCESS_TARGET := mkvmlinuz_support_install
IMAGE_POST_PROCESS_DIR := arch/ppc/boot
INSTALL_MKVMLINUZ_PATH = $(SRCTOP)/$(IMAGE_TOP)/usr/lib/kernel-image-${version}
+ target := zImage
+ loaderdep=mkvmlinuz
endif
- target := zImage
- loaderdep=mkvmlinuz
else
KERNEL_ARCH=ppc64
target = $(kimage)
@@ -387,6 +388,7 @@
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc powerpc64))
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc64))
KERNEL_ARCH:=ppc64
+ target := vmlinux
endif
ifneq (,$(findstring $(KPKG_SUBARCH), powerpc))
KERNEL_ARCH:=ppc
@@ -394,9 +396,9 @@
IMAGE_POST_PROCESS_TARGET := mkvmlinuz_support_install
IMAGE_POST_PROCESS_DIR := arch/ppc/boot
INSTALL_MKVMLINUZ_PATH = $(SRCTOP)/$(IMAGE_TOP)/usr/lib/kernel-image-${version}
+ target := zImage
+ loaderdep=mkvmlinuz
endif
- target := zImage
- loaderdep=mkvmlinuz
kimagesrc = vmlinux
kimage := vmlinux
kimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version)
Reply to: