Basically, you have to have already compiled the entire kernel sometime in the past, and then to be using the compiled kernel on your machine.
Then, to compile a module, all you need is to touch one of its dependencies, and re-do make on the entire kernel. In principle, only the desired module will be re-compiled. If you didn't already compile the entire kernel, then going this way will be simpler than fiddling with the makefiles, ensuring that all kinds of obscure dependencies exist and are up-to-date, and that the compiled module will be compatible with the version of the kernel, which runs on the machine. How to compile the kernel - RTFM (there is a README file in /usr/src/linux-* directory - at least there used to be one in the 2.0.* and 2.2.* series). On Fri, 10 May 2002, Amir Sela wrote: > Hey list. > Is there a way, to compile a single module out of the kernel source > tree, without fiddling about manually with the Makefiles and such ? > I wanted to compile ntfs.c(as a loadable module, of course), and I'm > not very well versed in the Makefile structure of the entire kernel > tree. --- Omer The deaf in Israel demand 100% captions in Hebrew language TV and cable TV programs. WARNING TO SPAMMERS: see at http://www.zak.co.il/spamwarning.html ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]