kernel-source vs. kernel-sourcecode (please revert)

Aaron Bennett aaron.bennett at olin.edu
Tue Jun 15 18:18:22 UTC 2004


Arjan van de Ven wrote:

>The kernel-doc documentation explains it for 2.6,
>if your module is called foo.c you make a Makefile with
>obj-m := foo.o
>in it, and do
>make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules
>to build your module.
>  
>

Arjan --

Where is that? 
[root at burton kernel-doc-2.6.6]#
[root at burton kernel-doc-2.6.6]#  fgrep -li "make -C /lib/modules/`uname 
-r`/build" *
[root at burton kernel-doc-2.6.6]#  fgrep -li "make -C /lib/modules/" *
[root at burton kernel-doc-2.6.6]#  fgrep -i "/lib/modules/" *
stallion.txt:pre-built driver modules in /lib/modules/X.Y.Z/misc for the 
kernel in use.
[root at burton kernel-doc-2.6.6]#


I'm happy to know there's documentation "out there" that explains this, 
but I can't find it.

-- 
Aaron Bennett
UNIX Administrator
Franklin W. Olin College of Engineering






More information about the fedora-devel-list mailing list