FLAME____ Why is the kernel source not included
Jakub Jelinek
jakub at redhat.com
Fri Oct 15 14:58:45 UTC 2004
On Fri, Oct 15, 2004 at 08:30:39AM -0600, Ken Johanson wrote:
> Actually Lew, your's was the least re-inflamatory response - but it too
> missed the point - that the kernel source needs to be included.
They are included, see kernel-2.6.*.src.rpm.
> The "solution" mentioned earlier doesnt facilitate building custom
> kernel/module slices, and too many module providers *do* make against
> /usr/src/linux.
>
> Its just community standard for the source to be provided, though not
> for Redhat.
The standard place for files needed to build third party modules
is /lib/modules/`uname -r`/build. kernel.org kernels promote this location
for several years already.
To build 2.6 kernel modules, you just need to do:
make -C /lib/modules/`uname -r`/build M=`pwd` modules
assuming current directory contains kbuild compatible Makefile and the
module you want to build.
Jakub
More information about the fedora-list
mailing list