[Buildroot] Parallel top-level make and multiple rootfs types

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Nov 4 22:05:58 UTC 2017


Hello,

On Sat, 4 Nov 2017 21:56:58 +0100, Arnout Vandecappelle wrote:

> > can I disable parallel execution of the rootfs-* build steps while still
> > building everything up to target-finalize in parallel?  
> 
>  No, that's not possible with make. I don't know if Thomas has already thought
> about this aspect of top-level parallel...

No, I haven't thought about this aspect of top-level parallel build.

>  I think the solution is to change the way we build the rootfs: instead of doing
> the fakeroot steps over and over again, do it once, save with the -s option, and
> then do the individual filesystems in a separate (readonly) fakeroot with -i to
> read the previously created fakeroot file.

I think Yann did some work in terms of parallel generation of
filesystem images, but I'm not sure exactly what he did :)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list