LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-22-2005, 06:03 PM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
Very quick kernel recompile


I have a very simple question about recompiling a 2.6.10 kernel. I would like to add one apm option that is not available as a module. Can anyone suggest the absolute quickest way to do so? (I just compiled and installed 2.6.10 yesterday and it was fun, but I don't have much time tonight....)

thanks!
-geo
 
Old 02-22-2005, 06:05 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Well if you just add the option and type make again only files that need to be required because they somehow depend on the new option will be recompiled. So long as you don't run make clean or make mrproper you should have a quick compile.
 
Old 02-22-2005, 06:10 PM   #3
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Thanks for the speedy reply.
Sorry for being such a newb about this, but then I need to do a make install as well, right?
-geo
 
Old 02-22-2005, 06:12 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
You never need to appologize for asking a question. What is that my professors and teachers used to say? The only stupid question is the one you don't ask. Anyway....

If you use make install to install your kernel image then yes. I have always done that step manually for whatever reason. You'll need to do a make modules_install too.
 
Old 02-22-2005, 06:15 PM   #5
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
I know, and I am a professor too and say that as well. But this one seemed like the best response was - well, yeah, duh!

Thanks

-geo
 
  


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
kernel recompile Prism Slackware 8 08-30-2004 12:53 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
quick q about kernel recompile verify_reality Linux - Newbie 1 07-19-2004 11:50 PM
Quick Kernel Recompile Question PrimaryDataLoop Linux - Newbie 1 07-18-2003 04:10 AM
what is recompile kernel? len Linux - Newbie 1 06-22-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 AM.

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