diff options
author | Liming Gao <liming.gao@intel.com> | 2017-12-22 20:07:54 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-25 11:05:48 +0800 |
commit | e651d06c5ed167e706e2dbe122ec0953a54033f3 (patch) | |
tree | e3e87c6190f829372feebf4809db6ad5614b4d48 /BaseTools/Source/Python/Workspace/BuildClassObject.py | |
parent | 2b8a6c44e0deb508f79804dd5ff7156bc7e25493 (diff) | |
download | edk2-e651d06c5ed167e706e2dbe122ec0953a54033f3.tar.gz edk2-e651d06c5ed167e706e2dbe122ec0953a54033f3.tar.bz2 edk2-e651d06c5ed167e706e2dbe122ec0953a54033f3.zip |
BaseTools: Report Structure PCD value and SKU, DefaultStore info
https://bugzilla.tianocore.org/show_bug.cgi?id=706
Add Structure PCD support for Build report. Structure PCD field value described
in DEC/DSC will be display in build report. And, PCD value for each SKU and
Default store will also be shown in build report.
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Yonghong Zhu <yonghong.zhu@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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject.py b/BaseTools/Source/Python/Workspace/BuildClassObject.py index 631c1c7b99..acf33ab03a 100644 --- a/BaseTools/Source/Python/Workspace/BuildClassObject.py +++ b/BaseTools/Source/Python/Workspace/BuildClassObject.py @@ -118,7 +118,7 @@ class StructurePcd(PcdClassObject): self.PcdMode = None
self.SkuOverrideValues = collections.OrderedDict({})
self.FlexibleFieldName = None
-
+ self.StructName = None
def __repr__(self):
return self.TypeName
@@ -170,6 +170,7 @@ class StructurePcd(PcdClassObject): self.DefaultFromDSC=None
self.OverrideValues = PcdObject.SkuOverrideValues if PcdObject.SkuOverrideValues else self.SkuOverrideValues
self.FlexibleFieldName = PcdObject.FlexibleFieldName if PcdObject.FlexibleFieldName else self.FlexibleFieldName
+ self.StructName = PcdObject.DatumType if PcdObject.DatumType else self.StructName
## LibraryClassObject
#
|