diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-09-04 14:13:18 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-09-12 11:25:20 +0800 |
commit | 71127ce88392d2a0392cb0cb90eaa0245da14f05 (patch) | |
tree | d1b9a6d832a5fd284fdf2df0d65b6ca98ab165cc /BaseTools/Source/Python/Workspace/BuildClassObject.py | |
parent | b62cbfb787e1ac594fce618a1a9c86cabc63d54b (diff) | |
download | edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.tar.gz edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.tar.bz2 edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/BuildClassObject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject.py b/BaseTools/Source/Python/Workspace/BuildClassObject.py index 88465c59ea..7e96370d95 100644 --- a/BaseTools/Source/Python/Workspace/BuildClassObject.py +++ b/BaseTools/Source/Python/Workspace/BuildClassObject.py @@ -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 = ""
|