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

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



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 burton kernel-doc-2.6.6]#
[root burton kernel-doc-2.6.6]# fgrep -li "make -C /lib/modules/`uname -r`/build" *
[root burton kernel-doc-2.6.6]# fgrep -li "make -C /lib/modules/" *
[root 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 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




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