LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-30-2006, 01:31 AM   #1
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Rep: Reputation: 31
compiling single kernel module only


If I enable just one additional loadable module inside a kernel source tree that was compiled earlier and hasn't been cleaned, How can I compile just that additional module only without compiling every other module that was selected?
ie,
"make modules" will compile every modules selected in the config file

If you compile again within some period of time(maybe its 1 hour), it just skips the previously compiled modules and compiles only the additional ones.

Thankx.
 
Old 01-30-2006, 03:41 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Two solutions for recompiling only one module:

erase the .ko of the module you want to recompile
or
Code:
make modules SUBDIRS=drivers/the_module_directory
 
Old 01-31-2006, 12:44 AM   #3
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
yes it might work,
eg: make SUBDIRS=fs/romfs modules

thankx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling only one module without recompiling the kernel l_9_l Linux - General 8 07-06-2009 10:00 PM
How do you rebuild a single kernel module? rollo Linux - General 3 01-29-2006 01:19 AM
compiling a kernel module for a different target akaBeaVis Linux - Software 10 06-09-2003 12:47 AM
compile a single kernel module wr3ck3d Linux - General 10 03-01-2003 12:00 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration