[Buildroot] [PATCH v8 RESEND 0/8] Add support for top-level parallel make

Fabio Porcedda fabio.porcedda at gmail.com
Tue Nov 12 08:39:09 UTC 2013


On Mon, Nov 11, 2013 at 2:49 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Fabio, Arnout,
>
> On Fri, 18 Oct 2013 11:34:12 +0200, Fabio Porcedda wrote:
>
>> this is a patch set for adding support for top-level parallel make in
>> buildroot, the common problem scattered in buildroot's top-level
>> makefiles is that in the rules it relies on the order of evaluation of
>> the prerequisites, to be able to use top-level parallel make instead
>> of reling on the left to right ordering of evaluation of the
>> prerequisites we must add an explicit rule to describe the
>> dependencies.
>
> I'd like to agree on a plan with this patch series. At the latest
> Buildroot Developer Day in Edinburgh, I think we agreed that:
>
>  (1) Enabling top-level parallel without having per-package sysroot was
>      not desirable, as it would make the builds non-reproducible.

What do you think if we provide an easy way to use top-level parallel make
that warns about the problems:

ifeq ($(P),1)
$(warning Not reproducible builds use at your own risk!)
BR2_JLEVEL=
else
# This top-level Makefile can *not* be executed in parallel
.NOTPARALLEL:
endif


  make P=1 -j5


>  (2) That being said, Fabio's patches have anyway a merit on their own
>      since they make things cleaner, and that therefore, patches 1 to 6
>      can be merged. Maybe patch 7 even if I'm not sure it makes sense
>      to have it without the top-level parallel build.
>
> What do you think?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com


Best regards
-- 
Fabio Porcedda


More information about the buildroot mailing list