LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-01-2005, 05:21 PM   #1
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
recompile kernel


For my bluetooth module I had to change a line in my .config file. now I have to recompile my kernel. The first time, when i build my kernel, i did:
make mrproper
make oldconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install

do I now have to redo all this steps, or can I now leave some steps away?
 
Old 06-01-2005, 05:56 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
That depends if it's a 2.4 or a 2.6 kernel
 
Old 06-02-2005, 01:47 AM   #3
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
it is a kernel 2.4.20
 
Old 06-02-2005, 09:41 AM   #4
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
are all these steps necessary?
 
Old 06-02-2005, 10:06 AM   #5
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
if you didnt already do a make mrproper then once you change youre config just do a make dep && make bzImage && make modules && make modules_install then copy bzImage to /boot. this is still most of the steps but if you dont do makle mrproper it wont take nearly as long.
 
Old 06-02-2005, 03:27 PM   #6
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
if this is just a modified redhat 9 default kernel it would be a lot easier if you installed the source rpm and edited the .spec file rather than doing everthing manually. This would make it a lot cleaner to remove or make changes to since all you would have to do is edit the .spec file and run an 'rpm -ba kernel.spec' and it would create your kernel image as an rpm that you can install with 'rpm -ivh kernel.rpm'
 
  


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
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 02:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
Should I recompile my kernel? Guitarist88 Linux - Newbie 3 05-31-2004 05:28 PM
recompile the kernel!!! :O HELP! gangster_god Mandriva 3 04-06-2004 04:42 PM
what is recompile kernel? len Linux - Newbie 1 06-22-2003 11:18 AM


All times are GMT -5. The time now is 03:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration