recompile only one kernel module

Submitted by deb75
on November 10, 2004 - 1:42pm

Hello,

I run the 2.6.9 kernel, and I would like to recompile only the forcedeth module
after having modified it, but I would like also to give it a different name in order
to not confuse it with the already existing forcedeth module,

I have no idea about how to do this safely
any advices are welcome

thanks in advance
deb75

I think, you could compile...

crquan
on
November 12, 2004 - 3:31am

I think, you could compile with "SUBDIRS=" parameter
compile one module [ext3.ko] as this:

$ cd /usr/src/linux
$ make SUBDIRS=fs/ext3 modules

I was also looking for how to

Anonymous (not verified)
on
May 14, 2005 - 1:12am

I was also looking for how to do this, and your "trick"

$ cd /usr/src/linux
$ make SUBDIRS=fs/ext3 modules

worked great for me.

Thanks alot!

Comment viewing options