From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 B818621E1B768 for ; Thu, 21 Sep 2017 00:52:22 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 00:55:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,424,1500966000"; d="scan'208";a="137816084" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 21 Sep 2017 00:55:25 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Sep 2017 00:55:24 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Sep 2017 00:55:24 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Thu, 21 Sep 2017 15:55:22 +0800 From: "Yao, Jiewen" To: "Chiu, Chasel" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] IntelFsp2Pkg-Tools: Add FixedAtBuild PCD support in GenCfgOpt.py Thread-Index: AQHTMq5xOsmR4wtbxUCC0I3lF0pxIqK++H+g Date: Thu, 21 Sep 2017 07:55:21 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A9C031C@shsmsx102.ccr.corp.intel.com> References: <20170921075105.3536-1-chasel.chiu@intel.com> In-Reply-To: <20170921075105.3536-1-chasel.chiu@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Thu, 21 Sep 2017 07:52:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Chiu, Chasel > Sent: Thursday, September 21, 2017 3:51 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Maurice; Ma, Maurice > ; Chiu, Chasel > Subject: [PATCH] IntelFsp2Pkg-Tools: Add FixedAtBuild PCD support in > GenCfgOpt.py >=20 > Platform is eligible to use either PcdsFeatureFlag or > PcdsFixedAtBuild for build configuration and requires > GenCfgOpt.py support. >=20 > Cc: Jiewen Yao > Cc: Maurice, Ma > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chasel Chiu > --- > IntelFsp2Pkg/Tools/GenCfgOpt.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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".lowe= r(): > + if (Match.group(1).lower() =3D=3D "PcdsFeatureFlag".low= er() or > Match.group(1).lower() =3D=3D "PcdsFixedAtBuild".lower()): > IsPcdSect =3D True > elif Match.group(1).lower() =3D=3D > "PcdsDynamicVpd.Upd".lower(): > ConfigDict =3D {} > -- > 2.13.3.windows.1