[PATCH] use vmlinux during make install on ppc64

Sam Ravnborg sam at ravnborg.org
Fri Feb 11 08:45:05 EST 2005


On Thu, Feb 10, 2005 at 10:07:54PM +0100, Olaf Hering wrote:
>  On Wed, Feb 09, Paul Mackerras wrote:
> 
> > Olaf Hering writes:
> > 
> > > make install passes the zImage to the installkernel script.
> > > When an initrd is used, this script has to pull out the vmlinux from the
> > > zImage because yaboot can not boot a zImage+initrd combo.
> > > It can only handle vmlinux+initrd or zImage.initrd.
> > > Its simple to just pass the plain vmlinux instead.
> > 
> > As a side-effect you seem to have changed the default target on
> > pSeries from zImage to vmlinux, which I don't like - I find it useful
> > and convenient that just plain "make" makes the zImage, which I can
> > then netboot.
> 
> use-vmlinux-during-make-install-on-ppc64.patch is in 2.6.11-rc3-mm2, and
> it contains another broken version of 'simple make doesnt built zImage'.
> 
> Here is another try to fix a simple 'make' and also get 'make install'
> right. pseries needs zImage, iseries and pmac just the plain vmlinux
> passed to the install.sh script.
> 
> http://ozlabs.org/pipermail/linuxppc64-dev/2005-February/003215.html
> 
> 
> Sam, can that be done in a simpler way? I guess not.

Please take a look at the funcionality offered by KBUILD_IMAGE
KBUILD_IMAGE is supposed to be used for this purpose.

Otherwise your patch looks good.

	Sam



More information about the Linuxppc64-dev mailing list