From nobody Mon May 6 22:20:53 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.zoho.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 1491515807253301.3575647610867; Thu, 6 Apr 2017 14:56:47 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1D63F21DFA91C; Thu, 6 Apr 2017 14:56:44 -0700 (PDT) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 398D520080936 for ; Thu, 6 Apr 2017 14:56:42 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 14:56:42 -0700 Received: from mdkinney-mobl.amr.corp.intel.com ([10.255.230.147]) by orsmga001.jf.intel.com with ESMTP; 06 Apr 2017 14:56:41 -0700 X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491515803; x=1523051803; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=9amL+uHUq4gMUPedVBmwa+6hS/sJ2O2+qic0onTFcA0=; b=WL+7W0fHcGJmO3nhg6l87v8pAVY48MXCwLpC42SM7eY+0exwqJrW73D/ zX0rque+r4BeQfUG/gzLS9+ksooZ4Q==; X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,161,1488873600"; d="scan'208";a="1116566586" From: Michael Kinney To: edk2-devel@lists.01.org Date: Thu, 6 Apr 2017 14:56:23 -0700 Message-Id: <1491515783-6496-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1491515783-6496-1-git-send-email-michael.d.kinney@intel.com> References: <1491515783-6496-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [edk2-FdfSpecification PATCH] Fix conditional statement examples 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: Liming Gao 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" https://bugzilla.tianocore.org/show_bug.cgi?id=3D373 * Removge space between !if and else * Add $() around BARFOO Cc: Liming Gao Cc: Yonghong Zhu Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney Reviewed-by: Yonghong Zhu =20 --- 2_fdf_design_discussion/22_flash_description_file_format.md | 4 ++-- README.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/2_fdf_design_discussion/22_flash_description_file_format.md b/= 2_fdf_design_discussion/22_flash_description_file_format.md index 9c993f4..dfbd889 100644 --- a/2_fdf_design_discussion/22_flash_description_file_format.md +++ b/2_fdf_design_discussion/22_flash_description_file_format.md @@ -600,7 +600,7 @@ The following is an example of conditional statements. ```ini !if ("MSFT" in $(FAMILY)) or ("INTEL" in $(FAMILY)) ... statements -!else if $(FAMILY) =3D=3D "GCC" +!elseif $(FAMILY) =3D=3D "GCC" ... statements !endif =20 @@ -610,7 +610,7 @@ The following is an example of conditional statements. !else # FOO defined, BAR is defined !endif -!elseif BARFOO +!elseif $(BARFOO) # FOO is not defined, BARFOO is defined as TRUE !elseif $(BARFOO) =3D=3D "FOOBAR" # FOO is not defined, BARFOO is defined as FOOBAR diff --git a/README.md b/README.md index 9a7f13a..74269dc 100644 --- a/README.md +++ b/README.md @@ -196,3 +196,4 @@ Copyright (c) 2006-2017, Intel Corporation. All rights = reserved. | | Clarified [UserExtensions] content in chapter 2 (to match i= mplementation) = | | | 1.28 | Convert to GitBooks = = | March 2017 | | | [#426](https://bugzilla.tianocore.org/show_bug.cgi?id=3D426= ) IMAGE_TYPE_ID must be provided with value, FDF should mark it as required= section | | +| | [#373](https://bugzilla.tianocore.org/show_bug.cgi?id=3D373= ) Conditional statement examples incorrect = | | --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel