From patchwork Wed Feb 12 09:19:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 319587 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id EA69A2C00B3 for ; Wed, 12 Feb 2014 20:19:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B2E5A892EB; Wed, 12 Feb 2014 09:19:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vUN3TYG2dH2B; Wed, 12 Feb 2014 09:19:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3DF168961E; Wed, 12 Feb 2014 09:19:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B25081BF966 for ; Wed, 12 Feb 2014 09:19:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AEC7632E83 for ; Wed, 12 Feb 2014 09:19:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mVSq1THY4iBe for ; Wed, 12 Feb 2014 09:19:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by silver.osuosl.org (Postfix) with ESMTPS id 2BCC832E61 for ; Wed, 12 Feb 2014 09:19:38 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id v10so8760391pde.13 for ; Wed, 12 Feb 2014 01:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mu3blsxTTLwYE2ITPmXQ3RoTumPJbI/62hr9Xsf9loA=; b=pOMieGLRHAO0WGqYrpE0cFITrNc1oOqg60q5Hhl3zCwCL12EHLBvtp7B7g5rYef4HC YmSJMqmzflyjVg5g8+asTHeLE7JqJbwT6d7pkaUcCIwVf+9rv04BS3vNDpV0YeMXCnZK QmUobziu2zRYb5hgIvGmGSwhZcsoXgXbGfofABTiITGjYcjlH0B611RoFUjADycNyNII sO2+QNuXR2xyg7LOm7uyVpTP5E8re+AkbnVT1oqcTAqEKQPVY2pqIsJbQY73i0ck4qu8 vaKBTG/Q1mZ+AHFiIT1xexdNyKFso+86up8qo1jd+5Fl5cOsBhVA8kgJV14F6EzBZCUI Klug== X-Received: by 10.68.227.36 with SMTP id rx4mr15960786pbc.164.1392196777939; Wed, 12 Feb 2014 01:19:37 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id lh13sm156417637pab.4.2014.02.12.01.19.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 01:19:37 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Wed, 12 Feb 2014 10:19:10 +0100 Message-Id: <1392196751-23485-7-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1392196751-23485-1-git-send-email-fabio.porcedda@gmail.com> References: <1392196751-23485-1-git-send-email-fabio.porcedda@gmail.com> Cc: Thomas Petazzoni , Dallas Clement Subject: [Buildroot] [PATCH v12 6/7] Makefile: update comment about top-level parallel Makefile X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net After the latest patches top-level parallel Makefile is working but there is still an issue when a package has an unspecified optional dependency so change the comment to explain that. Signed-off-by: Fabio Porcedda --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c89107a..ddb1f6a 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,20 @@ export HOSTARCH := $(shell uname -m | \ -e s/macppc/powerpc/\ -e s/sh.*/sh/) -# This top-level Makefile can *not* be executed in parallel +# Parallel execution of this Makefile is disabled because it changes +# the packages building order, that can be a problem for two reasons: +# - If a package has an unspecified optional dependency and that +# dependency is present when the package is built, it is used, +# otherwise it isn't (but compilation happily proceeds) so the end +# result will differ if the order is swapped due to parallel +# building. +# - Also changing the building order can be a problem if two packages +# manipulate the same file in the target directory. +# +# Taking into account the above considerations, if you still want to execute +# this top-level Makefile in parallel comment the ".NOTPARALLEL" line and +# build using the following command: +# make BR2_JLEVEL= -j$((`getconf _NPROCESSORS_ONLN`+1)) .NOTPARALLEL: # absolute path