From patchwork Fri Jan 10 10:06:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 309234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id EEA252C00AB for ; Fri, 10 Jan 2014 21:06:46 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C8DBE94000; Fri, 10 Jan 2014 10:06:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G3jTnPw3lA9K; Fri, 10 Jan 2014 10:06:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EF77793FB5; Fri, 10 Jan 2014 10:06:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 84DDB1BFA0B for ; Fri, 10 Jan 2014 10:06:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4881F94071 for ; Fri, 10 Jan 2014 10:06:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vejvzrOUnsy0 for ; Fri, 10 Jan 2014 10:06:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by hemlock.osuosl.org (Postfix) with ESMTPS id 3543B9408E for ; Fri, 10 Jan 2014 10:06:34 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id bj1so46327pad.30 for ; Fri, 10 Jan 2014 02:06:34 -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=IGMu4DiPnXdCo1UPYZdQLsI7XtI/tvEQTc2rbzHIeUk=; b=EgQPusA7HpSQw9LFGbf1zBSO9ZjDzDMmACtzsWtM8xIe+DXrwO0pAtUV7m+cZ419gG clW8u/SOeE66tgNZb7P7+4zPfBe37Hk6cFHQhJRGjU81JCadzSsQnZ3YwL+tQ1LP8e3D IrZVgcs8LNe+kzrE/YO8ILqRFuPQThCWYYH50G/49xKCnuOLP03xuxg2W4q3Rc19VhKD 64bjzs5sZs/uyFYabU0KgjAH4yDKGRCi3MjHqKO0uMCU9tbmL2sZEVmlhHbbcnqr4bLw IwDm+wf0bGhwsMxKI1AW8vdH6P5oTUfzbuGSHZfSrG87n1nrrEwzAgIQ72Sd1hCvMGAQ 4+6w== X-Received: by 10.66.228.201 with SMTP id sk9mr10137957pac.134.1389348394007; Fri, 10 Jan 2014 02:06:34 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id ao1sm16161009pbc.18.2014.01.10.02.06.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Jan 2014 02:06:33 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Fri, 10 Jan 2014 11:06:08 +0100 Message-Id: <1389348368-2509-9-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389348368-2509-1-git-send-email-fabio.porcedda@gmail.com> References: <1389348368-2509-1-git-send-email-fabio.porcedda@gmail.com> Cc: Thomas Petazzoni , Dallas Clement Subject: [Buildroot] [PATCH v11 8/8] 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 3115049..f55fb2c 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