mirror of https://github.com/acidanthera/audk.git
BaseTools: Fixed an error reported during generating report.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu <yingke.d.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17623 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
aeaaf754ee
commit
e63ec1beac
|
@ -1237,10 +1237,10 @@ class FdRegionReport(object):
|
|||
#
|
||||
# Collect PCDs defined in DSC common section
|
||||
#
|
||||
for Platform in Wa.BuildDatabase.WorkspaceDb.PlatformList:
|
||||
for (TokenCName, TokenSpaceGuidCName) in Platform.Pcds:
|
||||
DscDefaultValue = Platform.Pcds[(TokenCName, TokenSpaceGuidCName)].DefaultValue
|
||||
PlatformPcds[(TokenCName, TokenSpaceGuidCName)] = DscDefaultValue
|
||||
Platform = Wa.BuildDatabase[Wa.MetaFile, 'COMMON']
|
||||
for (TokenCName, TokenSpaceGuidCName) in Platform.Pcds:
|
||||
DscDefaultValue = Platform.Pcds[(TokenCName, TokenSpaceGuidCName)].DefaultValue
|
||||
PlatformPcds[(TokenCName, TokenSpaceGuidCName)] = DscDefaultValue
|
||||
|
||||
#
|
||||
# Add PEI and DXE a priori files GUIDs defined in PI specification.
|
||||
|
|
Loading…
Reference in New Issue