[Buildroot] Speeding up builds

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Nov 4 19:50:57 UTC 2013


Hi Dallas,

On Mon, Nov 4, 2013 at 8:41 PM, Dallas Clement
<dallas.a.clement at gmail.com> wrote:
> Hi Thomas,
>
> It's BR2_JLEVEL=0, and I have confirmed that when make is invoked it is -j
> 16  (8 cores X 2) on my build system.
>
> I have tried ccache, ran into problems, and ended up aborting.  I may pick
> up that effort again.
>
> My focus right now is reducing the build time for a fresh clean build with
> no caching or exisiting object files.
>
> That's a bummer about the configure steps being serialized.  I have observed
> this as well.

Are you using an external toolchain, or are you rebuilding that one
from scratch as well?
One common optimization is building the toolchain only once, tarring
the result, and using that as external toolchain for the real build.

Best regards,
Thomas


More information about the buildroot mailing list