mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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>
This commit is contained in:
parent
2b8a6c44e0
commit
e651d06c5e
9 changed files with 299 additions and 67 deletions
|
|
@ -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
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue