Subject: Re: build.sh and xen?
To: None <firstname.lastname@example.org>
From: Greg Troxel <email@example.com>
Date: 07/23/2006 10:18:37
> How to build kernel modules for xen?
> Xen kernel is built with DEBUG and DIAGNOSTIC and the kernel modules are=
> not so they conflict.
> So I want to build modules with those options. But I don't see any=20
> build.sh config for building just modules.
I think this is really a general problem of lkm vs kernel options and
not about xen, except that xen kenrels have DEBUG/DIAGNOSTIC set.
and then build.sh builds lkms with DIAGNOSTIC. Of course, they then
don't work with non-DIAGNOSTIC kernels.
I think what is needed is either
1) treat lkms needing a flag as a bug and fix them. This is probably
2) Enumerate the n flags that matter in some config file, and build
2^n flavors of lkms with build.sh, or perhaps just have a way to
configure the requested sets.
3) Stop using lkms.
Greg Troxel <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (NetBSD)
-----END PGP SIGNATURE-----