From nobody Mon Apr 29 13:21:39 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 1505980294968474.8655569124089; Thu, 21 Sep 2017 00:51:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2A3D421E1B769; Thu, 21 Sep 2017 00:48:27 -0700 (PDT) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 A5D1C21E1B767 for ; Thu, 21 Sep 2017 00:48:25 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 00:51:31 -0700 Received: from cchiu4-mobl1.gar.corp.intel.com ([10.5.240.29]) by orsmga005.jf.intel.com with ESMTP; 21 Sep 2017 00:51:22 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,424,1500966000"; d="scan'208";a="151727683" From: "Chasel, Chiu" To: edk2-devel@lists.01.org Date: Thu, 21 Sep 2017 15:51:05 +0800 Message-Id: <20170921075105.3536-1-chasel.chiu@intel.com> X-Mailer: git-send-email 2.13.3.windows.1 Subject: [edk2] [PATCH] IntelFsp2Pkg-Tools: Add FixedAtBuild PCD support in GenCfgOpt.py 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: Jiewen Yao , Maurice@ml01.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" Platform is eligible to use either PcdsFeatureFlag or PcdsFixedAtBuild for build configuration and requires GenCfgOpt.py support. Cc: Jiewen Yao Cc: Maurice, Ma Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chasel Chiu Reviewed-by: Jiewen.yao@intel.com --- IntelFsp2Pkg/Tools/GenCfgOpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFsp2Pkg/Tools/GenCfgOpt.py b/IntelFsp2Pkg/Tools/GenCfgOpt= .py index 6dc1b10b34..64e0a3a985 100644 --- a/IntelFsp2Pkg/Tools/GenCfgOpt.py +++ b/IntelFsp2Pkg/Tools/GenCfgOpt.py @@ -457,7 +457,7 @@ EndList IsUpdSect =3D False if Match.group(1).lower() =3D=3D "Defines".lower(): IsDefSect =3D True - if Match.group(1).lower() =3D=3D "PcdsFeatureFlag".lower(= ): + if (Match.group(1).lower() =3D=3D "PcdsFeatureFlag".lower= () or Match.group(1).lower() =3D=3D "PcdsFixedAtBuild".lower()): IsPcdSect =3D True elif Match.group(1).lower() =3D=3D "PcdsDynamicVpd.Upd".lo= wer(): ConfigDict =3D {} --=20 2.13.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel