Re: compiling only one module in kernel version 2.6?
From: Randy.Dunlap
Date: Wed Aug 17 2005 - 00:41:33 EST
On Tue, 16 Aug 2005 23:18:49 -0400 Steven Rostedt wrote:
> On Tue, 2005-08-16 at 19:09 -0700, Fong Vang wrote:
> > What's the easiest way to compile just one module in the Linux 2.6 kernel tree?
> >
> > This no longer seem to work:
> >
> > $ cd /usr/src/linux
> > $ make SUBDIRS=fs/reiserfs modules
> > Building modules, stage 2.
> > MODPOST
> >
> > I don't see any .ko generated.
>
> It worked for me. Is your reiserfs turned on as a module, and not
> compiled into the kernel. (<M> not <*> nor < >)
Sam only added make .ko build support very recently,
so it could easily depend on what kernel verison Fong is using.
---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/