From patchwork Fri Feb 14 09:55: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: 320346 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2AD502C0098 for ; Fri, 14 Feb 2014 20:55:45 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A827033004; Fri, 14 Feb 2014 09:55:41 +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 NkcgQ5D5agp5; Fri, 14 Feb 2014 09:55:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4154C330ED; Fri, 14 Feb 2014 09:55:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 09E7A1C2358 for ; Fri, 14 Feb 2014 09:55:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 08A998C8B8 for ; Fri, 14 Feb 2014 09:55:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61J5eymNEYR0 for ; Fri, 14 Feb 2014 09:55:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id 60BB28C809 for ; Fri, 14 Feb 2014 09:55:34 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id rq2so12208641pbb.9 for ; Fri, 14 Feb 2014 01:55: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=K0oXLvDN4h7mLulo9byLYjTt0XDkxrA+cxZXytdThYg=; b=XMAbGwOVPh+yTiL0zb+6VLnTiW+0e0CsY1ZVO1qlDBd+7Zrkp9Ww/tspeieUW0lCnb 46aCKdTc7mWZuZumkGZOJiNW15HMk5H9gHTcdyoe1WSZzO6X5cOHeKgM6RaNr7X8ZH3j Xw5I38thQZ5S/yfApc+q3zEQH88nG9QGFQnYnwMKxpqVMwlINli3oz5N0nDE3KCAY9JD TYhDKySW9Lrj64LUpLUy/J/8uMFjW1hhyZWMfP1KM7SqAE49qTM+uGwEVqXTUYNnzlMf n4T6S2E77/l1RJphr12ckZYl9SivBdTGKiZDtfXFi9/GgMwniGxltHaMza9DhAufsjLB NGsQ== X-Received: by 10.68.194.65 with SMTP id hu1mr7963193pbc.158.1392371734199; Fri, 14 Feb 2014 01:55:34 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id os1sm36815176pac.20.2014.02.14.01.55.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Feb 2014 01:55:33 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Fri, 14 Feb 2014 10:55:08 +0100 Message-Id: <1392371709-26662-7-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1392371709-26662-1-git-send-email-fabio.porcedda@gmail.com> References: <1392371709-26662-1-git-send-email-fabio.porcedda@gmail.com> Cc: Thomas Petazzoni , Dallas Clement Subject: [Buildroot] [PATCH v13 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