mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
BaseTools: Structure Pcd value override incorrect.
This patch is going to fix the issue that The Pcd field value is override incorrectly when there is no Pcd overall value assignment in Dsc file. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
b62cbfb787
commit
71127ce883
3 changed files with 31 additions and 26 deletions
|
|
@ -61,7 +61,7 @@ class PcdClassObject(object):
|
|||
self.validlists = validlists
|
||||
self.expressions = expressions
|
||||
self.DscDefaultValue = None
|
||||
self.DscRawValue = None
|
||||
self.DscRawValue = {}
|
||||
if IsDsc:
|
||||
self.DscDefaultValue = Value
|
||||
self.PcdValueFromComm = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue