Re: Compile kernel for various times and problem of too long time consuming

From: Javier Martinez Canillas
Date: Mon Aug 08 2011 - 06:55:38 EST


On Sun, Aug 7, 2011 at 7:09 PM, Amirali Shambayati
<amirali.shambayati@xxxxxxxxx> wrote:
> Hi all,
> Since I want to evaluate performance improvements by changing just one
> file in kernel(noop-iosched) and compiling kernel is too much
> time-consuming, I want to know that if I compile kernel for more than
> one time, does it take similar time to first time?
>
> I use following commands. If I don't use "make-kpkg clean" for next
> times, does it just compile the files which have been modified or it
> compile whole kernel package again?
>
> make-kpkg clean
> fakeroot make-kpkg --initrd --append-to-version=-some-string-here
> kernel-image kernel-headers
>
>
> Thanks for your help in advance,
>
> --
> Amirali Shambayati
> Bachelor Student
> Computer Engineering Department
> Sharif University of Technology
> Tehran, Iran
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Some time ago I wrote a blog entry about "Speeding up Linux kernel
compilation", hope it helps

http://martinezjavier.blogspot.com/2011/03/speeding-up-linux-kernel-compilation.html

Best regards

--
Javier MartÃnez Canillas
(+34) 682 39 81 69
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/