<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Thank you very much for the help. It should be the fact that I changed the configuration before I make a compilation, which makes me thought that a complete compilation is inevitable.</div><div><br></div><div>Thanks again. : )</div><br><div>Regards</div><div>Michael</div><br><br><div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2014-11-20 10:43:26, "Greg KH" <greg@kroah.com> wrote:
>On Thu, Nov 20, 2014 at 10:05:04AM +0800, ÇØß®¸ê wrote:
>> Hi,
>>
>> This problem has puzzled me for a long time. A normal C make file could parse
>> the reliance and just regenerate the modified source file. But each time when I
>> modified the kernel and recompile it, it does a complete compilation, no matter
>> whether make mrproper is used or not. It's quite time consuming and
>> inefficient.
>>
>> So why kernel make file couldn't do what a normal C make file could do? Or
>> maybe it could but I got something wrong?
>
>I think you are doing something wrong, unless you are changing a
>configuration option, version of gcc, or are changing a .h file that all
>files include.
>
>What are you changing and doing that causes a full rebuild? Can you
>show us exactly?
>
>> If a complete compilation is inevitable, how to make it faster? I only know the
>> -jX option.
>
>-jX is all you need. You can use ccache if you are rebuilding the same
>thing all the time, or distcc if you have other machines on your network
>to take advantage of.
>
>thanks,
>
>greg k-h
>
>_______________________________________________
>Kernelnewbies mailing list
>Kernelnewbies@kernelnewbies.org
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>