On http://plasma-gate.weizmann.ac.il/Linux/maillists/02/05/msg00170.html
Dan Aloni <da-x(at-nospam)gmx.net> wrote:
> On Fri, May 10, 2002 at 10:09:09PM +0300, Amir Sela wrote:
>
> > 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.
>
> --
> Dan Aloni
I believe it worked for me in the past. However today I have tried it
with some other module and got:
kernel-source-2.4.20$ make SUBDIRS=drivers/pnp modules
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
make: *** No rule to make target `include/linux/autoconf.h', needed by
`include/config/MARKER'. Stop.
Any hints?
--
Shaul Karl, [EMAIL PROTECTED] e t
=================================================================
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]