LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 10-21-2009, 02:08 AM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 165
Blog Entries: 1

Rep: Reputation: 30
make-kpkg question regarding adding modules


What is the procedure to add some modules that were left out of the previous configuration of a custom kernel build? I have had this question for awhile but have just been doing the whole 'make-kpkg kernel_image modules_image' over again.
I tried 'make -C <* path to Linux *> M=$(pwd)' per the kernel doc (kbuild) but it didn't build the module(s) I wanted, just created a 'built-in.o'.

In this instance, I forgot to configure MAC80211 and wireless support for my
Broadcom 4318 card. So I went back and configured the needed functions as modules, then tried the short make method but no B43.ko was created. Now I just did another make-kpkg kernel_image modules_image and it looks like it's compiling the whole thing again which I'm sure is a waste of resources (even though I have ccache and distcc wired up).

Any help on this is greatly appreciated, thanks in advance!
 
Old 10-24-2009, 05:29 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Pclinux, Mandriva, Kubuntu 10.10 Slck13_64-current
Posts: 2,005
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
read this
 
Old 11-20-2009, 05:46 PM   #3
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 165
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Thanks

I figured out the reason for building 'built-in.o' was because the
wireless functionality was not so simple as just building the modules in the subdirectory because the configuration pulled in
some other config items that were required for the whole subsystem, and those items were built into the kernel.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make-kpkg jesus1710 Linux - Newbie 7 01-26-2007 08:57 AM
Eterm font errors after adding modules to make customised live CD uncle-c Slackware 1 11-20-2006 03:53 AM
Apache/PHP Question on adding modules dynamically nyheat Linux - Software 3 03-15-2006 01:08 AM
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 10:11 AM
where do i get make-kpkg linuxmandrake Debian 4 09-27-2005 05:42 AM


All times are GMT -5. The time now is 06:49 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
Open Source Consulting | Domain Registration