From patchwork Thu Mar 29 02:32:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 132551 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1196081ljb; Wed, 28 Mar 2018 19:32:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+8/1kA03Nb+LiOqECg6jlZQyN/D8cR9zt41z1vDh7FFYUyKlnMYGJTgyx4sqVvAiqTdkDR X-Received: by 10.55.192.20 with SMTP id o20mr8428065qki.257.1522290761899; Wed, 28 Mar 2018 19:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522290761; cv=none; d=google.com; s=arc-20160816; b=ptu9zZ2l9aZZ2kiU6lxAdQgueJ+QosFBJoF52dPsZduAOUG03WFIgcos6igQ33X60s PiASRjuznHtcNVG12ctJI7vfEbNX7N0COSbfMA9ESHYKxHNwVpECuj88YHDqTpwDEBhq ZsbKIxRSo26opm0o8NWpnzx7YFjXKZOqiX0s/cmMtSOieKVeKk5TItmemtpqUoxPrJeG XagSNdeDD++2twTfOEVr0weHIxD/LEDnMb+kxfz5hXgofIPJzZExUV9nq/bm6bRh/gOI unXC2MkRdKfsfr63oHIt33RdKnLK+R7iA4tYILn0b57EIZ795LK6e9aOdabwuiiieZmu cbXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=Xt0wveAT756R0pW7RA7/YNtsMTyRg60tz18hQmt6gpg=; b=OtR4wIShpcYpK58V/wJRORmvv77CLAXKy34PfY1S23SGjCwC5JxtAo6tuQZR4QzWub 7RsCy39qGGqMjg0itGuwTp5uRg3VqD23cyZ0dqI9Um5st2f1SaKIRvkvvYNvFaH+06Gl UBzsNTQkzPpzEml0OdQYceAuKfU7Yr1U6+DOEa+rC5fwPdip4kdDZy2/0U5w8mEPIEqt WbRaJUkQrwvGE15DQZtOMU0Q+1mhKO+oB2kBtuSWGlMT637wcxaZJvVJeD/km5lk7pTC e2c0pvIFTfYrd+zXJ2ML02QqSqmZAQAC/TFrGWW7tQ0r06yoEtfh29y0PbyF2o/gO8Hi /jew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u43si604863qtb.359.2018.03.28.19.32.41; Wed, 28 Mar 2018 19:32:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 84A5E606E1; Thu, 29 Mar 2018 02:32:41 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 DDDAE60686; Thu, 29 Mar 2018 02:32:36 +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 D418A606A8; Thu, 29 Mar 2018 02:32:35 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.linaro.org (Postfix) with ESMTPS id 11B4160672 for ; Thu, 29 Mar 2018 02:32:35 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id o23so16546087wmf.0 for ; Wed, 28 Mar 2018 19:32:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PKuOaN6Dr1wV4epGfnrdm0liVp/qCBgB534cy3xQG+U=; b=RDhhR+4CuKHbn9RtF59U4LTcpYDyR3qhN36MgLL+9W6Wy4k/hCBA7tTnnIZtmCV5Bt pkPVm4BvONZrFsGkuiA5O1rBCjotGgcvir2dgnj8YvOGZG6gN3igz6fItcAyiQ7wPHaN LZ3edoZJfAZ3UVOWNbomhOZ2+5y8OkBmhOaf5srFvIjvkmKTaQEojNH2alYmCIA5y50F I5TC6D1xvZtYtY/LEXsQ1sHh8Yw6Wzbrac+OGMX3fnlJ72To2VB7cG5BW6TbSKM+2JAW Kz3mSxa26uTdqxjs9+p6WZQD6BPAbHosHIYI9/QoDZH3BfFYP3G1ITfcwiwzA4ugaXi2 DWVQ== X-Gm-Message-State: AElRT7EakIfwRg2ajvpcQtJnEPxZMKPGsV1uBVT4FdBwxYUAvkmU3NBl S0ot+RePBQWVG1NdlwwLewoeD61W X-Received: by 10.28.238.2 with SMTP id m2mr4085472wmh.135.1522290754214; Wed, 28 Mar 2018 19:32:34 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id v66sm544840wmd.15.2018.03.28.19.32.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Mar 2018 19:32:33 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Thu, 29 Mar 2018 03:32:18 +0100 Message-Id: <20180329023218.22772-1-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH] opteed-build.sh: Read TOS_ARCH from config file.. X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." 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" ..before setting it to its default value if not specified. Signed-off-by: Victor Chong --- opteed-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/opteed-build.sh b/opteed-build.sh index 6840484..2dd40ff 100755 --- a/opteed-build.sh +++ b/opteed-build.sh @@ -21,6 +21,7 @@ function usage function build_platform { unset CFG_ARM64_core PLATFORM PLATFORM_FLAVOR DEBUG + TOS_ARCH="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_arch`" if [ X"$TOS_ARCH" = X"" ]; then TOS_ARCH=arm fi