LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2006, 08:26 AM   #1
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Rep: Reputation: 15
Compiling one module


How can you compile just a few modules (as opposed to the entire kernel). I just need one module (Cirrus Logic CS4236+ driver). This is an old laptop and I would rather not have to compile the entire kernel.

ps- In case you can't tell the module isn't standalone (like ndiswrapper) but it is actually in the kernel tree.
 
Old 09-03-2006, 10:39 AM   #2
totoro_dth
LQ Newbie
 
Registered: Apr 2006
Location: Camphor tree
Distribution: Slackware 10.2, Zenwalk Core 2.8
Posts: 13

Rep: Reputation: 0
Correct me if I'm wrong. If you didn't do a "make mrproper" or "make distclean" then any compiled oject files from previous kernel compilation are still in the source tree. Now you just need to copy your config file (in /boot) to the source tree

Code:
# cp /boot/configxxxxx /usr/src/linux/.config
then run

Code:
# make menuconfig
and make any change to the configuration. Then "make && make modules_install". I think the process will take much less time than clean compilation since it only compiles any new changes you made.
 
Old 09-03-2006, 11:33 AM   #3
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Original Poster
Rep: Reputation: 15
That makes total sense, except I didn't compile the kernel already. This is the standard slackware kernel and I just want to add a module that isn't already built. (without having to recompile the entire kernel)
 
Old 09-03-2006, 12:35 PM   #4
n00bified
Member
 
Registered: Aug 2005
Distribution: slackware!
Posts: 43

Original Poster
Rep: Reputation: 15
Never mind, just found the binary module hidden away in a FTP server.




SOLVED
 
  


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 a module eltn Programming 5 04-01-2006 07:30 PM
Use of MODULE macro while compiling a module fssengg Linux - Newbie 0 03-31-2006 07:13 AM
why is my 1st module not compiling venkatesh111 Programming 14 03-21-2006 10:41 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM
compiling the 8390.o module islandkid Linux - General 1 08-08-2002 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration