mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix Pcd Array changes build report issue.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1472 The Pcd Array feature changes the Pcd Default value data structure which is used by build report. This patch is going to update build report to adapt that change. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
parent
83463154af
commit
e3ef8f0c52
|
@ -1195,8 +1195,11 @@ class PcdReport(object):
|
|||
HasDscOverride = False
|
||||
if struct:
|
||||
for _, Values in struct.items():
|
||||
if Values[1] and Values[1].endswith('.dsc'):
|
||||
HasDscOverride = True
|
||||
for Key, value in Values.items():
|
||||
if value[1] and value[1].endswith('.dsc'):
|
||||
HasDscOverride = True
|
||||
break
|
||||
if HasDscOverride == True:
|
||||
break
|
||||
return HasDscOverride
|
||||
|
||||
|
|
Loading…
Reference in New Issue