Operating System - Linux
1823209 Members
3789 Online
109648 Solutions
New Discussion

compile only one kernel module

 
SOLVED
Go to solution
Andrea Rossi
Frequent Advisor

compile only one kernel module

Hi all

I would like to compile only one kernel modules (2.4 and 2.6) without launching "make modules" for all them. Is it possibile? No other way than modify the .config?
Thanks All
1 REPLY 1
Sergejs Svitnevs
Honored Contributor
Solution

Re: compile only one kernel module

To compile one kernel module driver:

1) You have to configure your kernel first.
make menuconfig
2) After that You can compile one single kernel driver (for example: ROM file system driver):
make SUBDIRS=fs/romfs modules

Regards,
Sergejs