Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


Search this Thread
Old 03-11-2010, 02:37 PM   #1
LQ Newbie
Registered: May 2003
Location: germany
Distribution: ubuntu
Posts: 6

Rep: Reputation: 0
Question kernel & modules always compile from beginning, without make clean

i'm wondering why the kernel (2.6.33) and it's modules always compile again from the beginning, even though everything was already compiled several times. i just made small changes, like unchecking or adding a module.
any ideas?

my command line is:
make bzImage && make modules && make modules_install && cp arch/x86/boot/bzImage
 /boot/vmlinuz-2.6.33-phc-laz && cp /boot/ &
& cp .config /boot/config-2.6.33-phc-laz
no "make clean" of course...

i'm using xubuntu, GNU Make 3.8.1, gcc 4.4.1

i didn't compile the linux kernel for a while, because it wasn't necessary. but now i want to compile a custom kernel for my xbmc-box, with a patch, that enables undervolting.
Old 03-11-2010, 05:41 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,103

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Don't do the make modules - unnecessary with 2.6
Old 03-12-2010, 10:27 AM   #3
LQ Newbie
Registered: May 2003
Location: germany
Distribution: ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
thank you. but still the same. like make doesn't have the information, that most of all is already compiled.
Old 03-13-2010, 09:27 AM   #4
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,263

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Given that everything, module-based or otherwise, is tightly connected and any error causes "we all fall down," I frankly would not worry at all about "unnecessary" compiles.


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
Can't compile kernel modules hoangcuong2011 Programming 2 09-07-2009 02:13 PM
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
How to compile a new kernel with modules? frenchn00b Linux - General 2 12-13-2008 07:14 PM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
modules after re-compile kernel skarim Linux - Software 3 10-15-2003 01:48 AM

All times are GMT -5. The time now is 07:32 PM.

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