From patchwork Fri Oct 28 11:03:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 79902 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1111125qge; Fri, 28 Oct 2016 04:04:00 -0700 (PDT) X-Received: by 10.55.4.134 with SMTP id 128mr10107032qke.281.1477652640119; Fri, 28 Oct 2016 04:04:00 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d39si6441779qtf.148.2016.10.28.04.03.59; Fri, 28 Oct 2016 04:04:00 -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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id BA50C60BED; Fri, 28 Oct 2016 11:03:59 +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 6B20260C05; Fri, 28 Oct 2016 11:03:42 +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 1B1BE60A29; Fri, 28 Oct 2016 11:03:40 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.linaro.org (Postfix) with ESMTPS id 1F500609C3 for ; Fri, 28 Oct 2016 11:03:38 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id n67so106600759wme.1 for ; Fri, 28 Oct 2016 04:03:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eZjsaGJQKdSZidciIhWhY3w+B+yFJNhJOi7CWVe3HzQ=; b=ZBM9dylDxC4Rm0XVDPXrqUbgD7VXOPgyQdQfNEpVvJbLV0e4lEn5bhmtxRNhmu+2kD AMu4nMg456f1NZ6Fz1TUvruUValyqmHfmhrmGYqTUn5PwGbpDrVRGJDLY6orcQdWCROl cdy9GbvKD6LQobmrvLG1LVW3E5w8gh3KMvMT599rexWRWQOE06tK1hoTxI6mXa41Qosq e9KxYtgakg9LQttJRQR8h6lXjk0TUkJUIS5DxZE2CYqE7pNj2i9LhlArp5x6K4i3TIAx AfRbNdbfTx1rH7+TmIgUpnKU+zmuJRp47UGPHXMBVUEXNQwG4y0ZMxdF/tQKSe9kMO2G GuJQ== X-Gm-Message-State: ABUngvdN072bQ0XLAzH9F00a8dY9WylROk7bkI17nlJxf8ihS9GZcEgcoSs337cVvFLJWBuNPk4= X-Received: by 10.28.156.10 with SMTP id f10mr3318320wme.57.1477652617149; Fri, 28 Oct 2016 04:03:37 -0700 (PDT) Received: from localhost.localdomain ([105.150.227.229]) by smtp.gmail.com with ESMTPSA id 71sm8292501wmo.7.2016.10.28.04.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Oct 2016 04:03:36 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Fri, 28 Oct 2016 12:03:18 +0100 Message-Id: <1477652599-26330-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477652599-26330-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477652599-26330-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [Linaro-uefi] [PATCH 2/3] Platforms/ARM/Juno: add PLATFORM_FLAGS rather than override them 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" The ArmJuno.dsc [BuildOptions] section adds some include paths to the compiler flags, by overriding the PLATFORM_FLAGS build variable of all build types, toolchains and architectures, using an == assignment. Since some of PLATFORM_FLAGS variants may contain compiler switches that we may want to keep, using = to add rather than replace is more appropriate here. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Platforms/ARM/Juno/ArmJuno.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc index 182aa5520602..154de2cd8797 100644 --- a/Platforms/ARM/Juno/ArmJuno.dsc +++ b/Platforms/ARM/Juno/ArmJuno.dsc @@ -67,7 +67,7 @@ PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf [BuildOptions] - *_*_*_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmJunoPkg/Include + *_*_*_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmJunoPkg/Include ################################################################################ #