[Lustre-discuss] building against kernel-lustre-source

Brian J. Murrell Brian.Murrell at Sun.COM
Tue Nov 27 14:14:56 PST 2007


On Tue, 2007-11-27 at 18:29 +0000, Wojciech Turek wrote:
> Hi,
> 
> 
> Try to follow these steps:
> 
> 
> cd /usr/src/<linux-lustre-kernel-source>/
> make mrproper
> cp /usr/src/<linux-kernel-source-obj>/x86_64/smp/.config .
> #Edit Makefile 
> EXTRAVERSION = -55.0.9.EL_lustre.1.6.3smp
> make menuconfig
> make include/asm
> make include/linux/version.h
> make SUBDIRS=scripts

The real solution is to use the fact that we ship our kernel source
using Suse's "object dir" format.  That provides fully configured source
trees for various arches.

Unfortunately, this support is broken until 1.6.5, tracked by bug 13690.
There is a patch in there that fixes it.

Using the --with-linux-obj=... argument to configure prevents the need
to do all of the make goop in the real source tree.

b.






More information about the lustre-discuss mailing list