diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-04-02 11:18:40 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-04-09 14:05:45 +0800 |
commit | 64797018df0cf5c1f11523bb575355aba918b940 (patch) | |
tree | 994f4a585ab6cae82f76b51a581f26e37e4ed382 /BaseTools/Source/Python/build/BuildReport.py | |
parent | b91b8ee4c97a8ac52986f850e05765bffcfc9479 (diff) | |
download | edk2-64797018df0cf5c1f11523bb575355aba918b940.tar.gz edk2-64797018df0cf5c1f11523bb575355aba918b940.tar.bz2 edk2-64797018df0cf5c1f11523bb575355aba918b940.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
-rw-r--r-- | BaseTools/Source/Python/build/BuildReport.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py index 6a79e23632..e06c352330 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -971,6 +971,7 @@ class PcdReport(object): if (Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type) not in ModulePcdSet:
continue
InfDefault, PcdValue = ModulePcdSet[Pcd.TokenCName, Pcd.TokenSpaceGuidCName, Type]
+ Pcd.DefaultValue = PcdValue
if InfDefault == "":
InfDefault = None
|