From patchwork Thu Apr 28 09:11:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Punit Agrawal X-Patchwork-Id: 66882 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp96721qge; Thu, 28 Apr 2016 02:12:12 -0700 (PDT) X-Received: by 10.50.78.73 with SMTP id z9mr16484926igw.42.1461834732875; Thu, 28 Apr 2016 02:12:12 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d130si15671789iof.179.2016.04.28.02.12.12; Thu, 28 Apr 2016 02:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 331256157E; Thu, 28 Apr 2016 09:12:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id D0447610BC; Thu, 28 Apr 2016 09:12:10 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id BECFF61570; Thu, 28 Apr 2016 09:12:07 +0000 (UTC) Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by lists.linaro.org (Postfix) with ESMTPS id DE81B610BC for ; Thu, 28 Apr 2016 09:12:05 +0000 (UTC) Received: from e105922-lin.cambridge.arm.com (e105922-lin.cambridge.arm.com [10.1.195.130]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with SMTP id u3S9C2Q4003277; Thu, 28 Apr 2016 10:12:02 +0100 Received: by e105922-lin.cambridge.arm.com (sSMTP sendmail emulation); Thu, 28 Apr 2016 10:12:02 +0100 From: Punit Agrawal To: linaro-uefi@lists.linaro.org Date: Thu, 28 Apr 2016 10:11:53 +0100 Message-Id: <1461834713-24554-1-git-send-email-punit.agrawal@arm.com> X-Mailer: git-send-email 2.8.0.rc3 Cc: Punit Agrawal Subject: [Linaro-uefi] [PATCH] uefi-build.sh: Unset MAKEFLAGS prior to build X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Parts of edk2 build process are a bit temperamental and may not be happy with cleverness via user MAKEFLAGS modifications. To save unnecessary debugging of build breakage unset MAKEFLAGS. Suggested-by: Leif Lindholm Signed-off-by: Punit Agrawal --- Hi, This issue bit me as I had MAKEFLAGS set to "-j 15" in my environment to speed up builds. It broke the serial part of the edk2 build. Please merge if appropriate. Thanks, Punit uefi-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uefi-build.sh b/uefi-build.sh index 578bba8..49f2230 100755 --- a/uefi-build.sh +++ b/uefi-build.sh @@ -9,7 +9,7 @@ # No need to edit below unless you are changing script functionality. # -unset WORKSPACE EDK_TOOLS_DIR +unset WORKSPACE EDK_TOOLS_DIR MAKEFLAGS TOOLS_DIR="`dirname $0`" . "$TOOLS_DIR"/common-functions