summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2018-09-04 09:13:18 +0300
committerLiming Gao <liming.gao@intel.com>2018-09-12 06:25:20 +0300
commit71127ce88392d2a0392cb0cb90eaa0245da14f05 (patch)
treed1b9a6d832a5fd284fdf2df0d65b6ca98ab165cc /BaseTools/Source/Python/Workspace/BuildClassObject.py
parentb62cbfb787e1ac594fce618a1a9c86cabc63d54b (diff)
downloadedk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.tar.xz
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.py2
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 = ""