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

From: WANG Cong
Date: Mon Aug 08 2011 - 05:48:24 EST


On Sun, 07 Aug 2011 21:39:12 +0430, Amirali Shambayati 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

Don't run 'make-kpkg clean', and try to use ccache,
make CC='ccache gcc'

--
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/