From: "Gao, Liming" <liming.gao@intel.com>
To: "Feng, Bob C" <bob.c.feng@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [Patch] BaseTools: Fixed build Ovmfpkg failed issue.
Date: Mon, 16 Jul 2018 09:47:26 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2BC176@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20180716093844.199568-1-bob.c.feng@intel.com>
This patch fixes the regression issues caused by 543f5ac30facfbb40eafb2b4908649a427784080.
Without this fix, OvmfPkg will build failure.
Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>BobCF
>Sent: Monday, July 16, 2018 5:39 PM
>To: edk2-devel@lists.01.org
>Cc: Gao, Liming <liming.gao@intel.com>
>Subject: [edk2] [Patch] BaseTools: Fixed build Ovmfpkg failed issue.
>
>Fixed a code bug.
>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Bob Feng <bob.c.feng@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>---
> BaseTools/Source/Python/Workspace/DscBuildData.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py
>b/BaseTools/Source/Python/Workspace/DscBuildData.py
>index 804eafa619..e8b36a3868 100644
>--- a/BaseTools/Source/Python/Workspace/DscBuildData.py
>+++ b/BaseTools/Source/Python/Workspace/DscBuildData.py
>@@ -1293,14 +1293,14 @@ class DscBuildData(PlatformBuildClassObject):
> def OverrideByFdfOverAll(self,AllPcds):
>
> if GlobalData.gFdfParser is None:
> return AllPcds
> NoFiledValues = GlobalData.gFdfParser.Profile.PcdDict
>- for Guid,Name,Field in NoFiledValues:
>+ for Name,Guid,Field in NoFiledValues:
> if len(Field):
> continue
>- Value = NoFiledValues[(Guid,Name,Field)]
>+ Value = NoFiledValues[(Name,Guid,Field)]
> if (Name,Guid) in AllPcds:
> Pcd = AllPcds.get((Name,Guid))
> if
>isinstance(self._DecPcds.get((Pcd.TokenCName,Pcd.TokenSpaceGuidCName),
>None),StructurePcd):
>
>self._DecPcds.get((Pcd.TokenCName,Pcd.TokenSpaceGuidCName)).PcdValu
>eFromComm = Value
> else:
>@@ -1323,11 +1323,11 @@ class DscBuildData(PlatformBuildClassObject):
> MaxSize = max(CurrentSize, OptionSize)
> Pcd.MaxDatumSize = str(MaxSize)
> else:
> PcdInDec = self.DecPcds.get((Name,Guid))
> if PcdInDec:
>- PcdInDec.PcdValueFromComm = Value
>+ PcdInDec.PcdValueFromFdf = Value
> if PcdInDec.Type in
>[self._PCD_TYPE_STRING_[MODEL_PCD_FIXED_AT_BUILD],
>
>self._PCD_TYPE_STRING_[MODEL_PCD_PATCHABLE_IN_MODULE],
>
>self._PCD_TYPE_STRING_[MODEL_PCD_FEATURE_FLAG]]:
> self.Pcds[Name, Guid] = copy.deepcopy(PcdInDec)
> self.Pcds[Name, Guid].DefaultValue = Value
>--
>2.16.2.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
prev parent reply other threads:[~2018-07-16 9:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-16 9:38 [Patch] BaseTools: Fixed build Ovmfpkg failed issue BobCF
2018-07-16 9:47 ` Gao, Liming [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14E2BC176@SHSMSX104.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox