You are not logged in.

#1 2010-05-11 13:20:50

Liuuutas
Member
From: Cambridge
Registered: 2009-05-02
Posts: 71

[SOLVED] "Partial" Kernel Compilation

Hi there,

I am in search of perfect kernel for me and I realized that a custom kernel is maybe what I need. However, since I have a relatively old laptop (nearly 5 years old) compiling takes a lot of time despite the fact that it gets hot too. Therefore, complete kernel compilation may not be the thing I would like to keep doing every new version appears.

I have heard that if one uses a git kernel it is possible to do smth like "partial" compilation - only the changed files need to be compiled once more, provided the sources after previous compilation are not deleted. However, I can not find information on google which would give me more information upon the case. Maybe because I do not exactly know how to call it. tongue

Can such a thing be done via PKGBUILD?

It would be very nice to be able to do it.  What is more, it would be nice to test many configurations in such way.

Or am I talking some nonsenses and the only way is to compile all the kernel over and over on every update?
If it is possible, how it reacts towards patching (e.g. tuxonice, tp_smapi, zen)?

Thank in advance

Last edited by Liuuutas (2010-05-11 13:35:42)

Offline

#2 2010-05-11 13:25:52

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] "Partial" Kernel Compilation

Have a look at Ccache.

P.S.: compiling the kernel will be a lot faster if you throw out the stuff you don't need.

Last edited by hokasch (2010-05-11 13:27:33)

Offline

#3 2010-05-11 13:27:39

Liuuutas
Member
From: Cambridge
Registered: 2009-05-02
Posts: 71

Re: [SOLVED] "Partial" Kernel Compilation

Thanks hokasch, that might be what I was looking for. But it is interesting whether there are any other ways. smile

EDIT:
Actually, this is, what I need. Thank you very much.

Last edited by Liuuutas (2010-05-11 13:35:22)

Offline

Board footer

Powered by FluxBB