Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/3] Fix for top-level parallel make part 1
@ 2013-09-10  7:46 Fabio Porcedda
  2013-09-10  7:46 ` [Buildroot] [PATCH v3 1/3] package/Makefile.in: add a way to don't force jobs in sub-make Fabio Porcedda
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabio Porcedda @ 2013-09-10  7:46 UTC (permalink / raw)
  To: buildroot

Hi all,
this is the first patch set for fixing top-level parallel make in buildroot,
the common problem scattered in buildroot's top-level makefile 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 package building seems to work fine with top-level
parallel make, example:

	make clean toolchain
	make BR2_JLEVEL= -j<n> <package-name list> 

Before to try that you have to remove the ".NOTPARALLEL" line in the top-level Makefile.

The part that remain to fix for top-level parallel make is the toolchain
building and targets after building all the packages.

Best regards
Fabio Porcedda

v3:
 - add back the patch "package: add toolchain dependency to
    inner-generic-package" because now is working fine.
 - add Acked-by: Arnout Vandecappelle to the first patch.
 - reworked the second patch following Arnout suggestions.
v2:
 - remove patch "package: add toolchain dependency to inner-generic-package"
   because was not working fine against recent toolchain changes.

Fabio Porcedda (3):
  package/Makefile.in: add a way to don't force jobs in sub-make
  pkg-generic: fix rules for top-level parallel make
  package: add toolchain dependency to inner-generic-package

 Makefile                 |  2 +-
 package/Makefile.in      |  2 +-
 package/pkg-autotools.mk |  3 ++-
 package/pkg-generic.mk   | 51 ++++++++++++++++++++++++------------------------
 package/uclibc/uclibc.mk |  2 +-
 5 files changed, 31 insertions(+), 29 deletions(-)

-- 
1.8.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-12 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  7:46 [Buildroot] [PATCH v3 0/3] Fix for top-level parallel make part 1 Fabio Porcedda
2013-09-10  7:46 ` [Buildroot] [PATCH v3 1/3] package/Makefile.in: add a way to don't force jobs in sub-make Fabio Porcedda
2013-09-12 18:28   ` Thomas Petazzoni
2013-09-10  7:46 ` [Buildroot] [PATCH v3 2/3] pkg-generic: fix rules for top-level parallel make Fabio Porcedda
2013-09-10  7:46 ` [Buildroot] [PATCH v3 3/3] package: add toolchain dependency to inner-generic-package Fabio Porcedda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox