Re: FLAME____ Why is the kernel source not included

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux