2008-11-11 07:08:19

by CIJOML

[permalink] [raw]
Subject: Possibility to build more kernels in one shot?

Hello,

currently I compile kernel for 12 different machines. I would like to see
profile support in kernel, so I could have all my .configs in source and
compile them in one shot. and than see in profile directory subdirectories
for every config with it's vmlinuz and modules.

I think it would speedup also compilation time because some .o should be than
reuse.

Thanks a lot for reply

Michal


2008-11-11 10:13:32

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: Possibility to build more kernels in one shot?

On Tue, Nov 11, 2008 at 08:01:14AM +0100, CIJOML wrote:
> currently I compile kernel for 12 different machines. I would like to see
> profile support in kernel, so I could have all my .configs in source and
> compile them in one shot. and than see in profile directory subdirectories
> for every config with it's vmlinuz and modules.

Write a script, shouldn't take more than 15 min including testing.
And use "make O=".

> I think it would speedup also compilation time because some .o should be than
> reuse.

Very optimistic hope. Use ccache(1) if you want .o reuse.

2008-11-17 02:09:19

by CIJOML CIJOMLovic

[permalink] [raw]
Subject: Re: Possibility to build more kernels in one shot?

Hello Alexey,



Alexey Dobriyan wrote:
> On Tue, Nov 11, 2008 at 08:01:14AM +0100, CIJOML wrote:
> > currently I compile kernel for 12 different machines. I would like to see
> > profile support in kernel, so I could have all my .configs in source and
> > compile them in one shot. and than see in profile directory subdirectories
> > for every config with it's vmlinuz and modules.
>
> Write a script, shouldn't take more than 15 min including testing.
> And use "make O=".

I currently use it, but It is not a good idea (fill make oldconfig 12x
with mostly same answers makes me personally mad)

>
> > I think it would speedup also compilation time because some .o should be than
> > reuse.
>
> Very optimistic hope. Use ccache(1) if you want .o reuse.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/