On Mon, Sep 09, 2002 at 07:05:53AM -0700, Michael West wrote: > I is possible to compile just a single kernel module and copy it to > /lib/modules by hand and have it work? > > Sometimes with new hardware I end up trial and error compiling to > see what will work. Just doing a `make modules modules_install` > works, but it would be nice to have to recompile everything to get a > single module added. > > How would I go about this? >
Quoting the linux-il mailing 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. > > No, you have to configure the kernel first. > > After that, you can do: > make SUBDIRS=fs/ntfs modules > > Much faster than waiting for the whole kernel to (re)build. -- Shaul Karl, [EMAIL PROTECTED] e t -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]