From nobody Thu Dec 26 14:27:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15030990215561007.867513199479; Fri, 18 Aug 2017 16:30:21 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8042521CFA612; Fri, 18 Aug 2017 16:27:48 -0700 (PDT) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6C4692095B9F6 for ; Fri, 18 Aug 2017 16:27:47 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D54DF2218B; Fri, 18 Aug 2017 19:30:12 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 18 Aug 2017 19:30:12 -0400 Received: from localhost.localdomain (c-71-226-23-158.hsd1.fl.comcast.net [71.226.23.158]) by mail.messagingengine.com (Postfix) with ESMTPA id 599B724B4B; Fri, 18 Aug 2017 19:30:12 -0400 (EDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=XnmBkf UDLDE2ZoEomPlaD6AiqUzyfE0ES07XPAEen0w=; b=l/rx/31ZdGKCeXZtPoCLnc Qr8gZBIyr61MATOggZdV0LO8P5hW4BTEGYUn+9CiY5r8k/D9hzImIss8tMFENOSw bINAVDfbww3FMCRcquvao7csSceHYFVoY1r348vmr7J1LXQIZ+rtVgWaXiViWV1P URtb3xMzDMtrJjbF75y0I4Zd0YBcJbeVUxEgsnLcdkddGMMinYGP2ATZxj+6L2/M h9+RZoGrx1oBBRw8V0BSVpU8lyRCmbP5hktHRVHmhQTxQNQc7NXmOThmW5sKVX5J mPmPtUNDZ1jXotlxCei+5c13KQSpG8Lk9jjvJH7Le4MUGhf35i/iJGw0MAGyl4MQ == X-ME-Sender: X-Sasl-enc: +lYCeSF5oZ30UiIHr5OCWF2Cd6XEhY6rjfJFkvXfm8hN 1503099012 From: Alan Ott To: leif.lindholm@linaro.org Date: Fri, 18 Aug 2017 19:29:59 -0400 Message-Id: <20170818232959.10578-1-alan@softiron.com> X-Mailer: git-send-email 2.9.3 Subject: [edk2] [PATCH] edk2-build.sh: Use CROSS_COMPILE if it's set externally X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alan Ott , edk2-devel@lists.01.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" --- edk2-build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/edk2-build.sh b/edk2-build.sh index 60da4df..fb0cb84 100755 --- a/edk2-build.sh +++ b/edk2-build.sh @@ -73,11 +73,13 @@ function do_build import_openssl fi =20 - set_cross_compile - CROSS_COMPILE=3D"$TEMP_CROSS_COMPILE" + if [ -z $CROSS_COMPILE ]; then + set_cross_compile + CROSS_COMPILE=3D"$TEMP_CROSS_COMPILE" + fi =20 echo "Building $PLATFORM_NAME - $PLATFORM_ARCH" - echo "CROSS_COMPILE=3D\"$TEMP_CROSS_COMPILE\"" + echo "CROSS_COMPILE=3D\"$CROSS_COMPILE\"" echo "$board"_BUILDFLAGS=3D"'$PLATFORM_BUILDFLAGS'" =20 if [ "$TARGETS" =3D=3D "" ]; then --=20 2.9.3 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel