mirror of https://github.com/acidanthera/audk.git
BaseTools: Pcds in [Components] are not display correct in the report
The Pcd used in [Components] section, the PCD value is displayed incorrect in the build report because the PCD default value was not override. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
b91b8ee4c9
commit
64797018df
|
@ -971,6 +971,7 @@ class PcdReport(object):
|
||||||
if (Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type) not in ModulePcdSet:
|
if (Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type) not in ModulePcdSet:
|
||||||
continue
|
continue
|
||||||
InfDefault, PcdValue = ModulePcdSet[Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type]
|
InfDefault, PcdValue = ModulePcdSet[Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type]
|
||||||
|
Pcd.DefaultValue = PcdValue
|
||||||
if InfDefault == "":
|
if InfDefault == "":
|
||||||
InfDefault = None
|
InfDefault = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue