[Buildroot] [PATCH v13 0/7] Add support for top-level parallel make
Peter Korsgaard
jacmet at uclibc.org
Fri Feb 14 20:11:26 UTC 2014
>>>>> "Fabio" == Fabio Porcedda <fabio.porcedda at gmail.com> writes:
> Hi all,
> 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.
> With this patch set the top-level parallel make seems to works fine,
> example:
> make clean
> make BR2_JLEVEL= -j$((`getconf _NPROCESSORS_ONLN` + 1))
> Before to try it remeber to remove the ".NOTPARALLEL" line.
> On my quad core system the building time for the first 220 defconfig lines of
> the option "allpackageyesconfig" is 45m vs 24m.
> I've tested the qemu_x86_defconfig.
> I will test futrher the top-level parallel make feature for building
> all the packages so expect some other patches to improve this feature.
> Thank you for all reviews and in particular Arnout.
> Best regards
> Fabio Porcedda
> v13:
> - Modified the "package: add support for top-level parallel make"
> patch, improved a comment and spliting the $$($(2)_TARGET_BUILD)
> dependency as suggested by Arnout.
> - Modified the sdl patch to use SDL_PRE_CONFIGURE_HOOKS as suggested
> by Thomas P.
Committed series to next, thanks for your persistence!
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list