diff options
author | Feng, YunhuaX </o=Intel/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Feng, YunhuaX4e1> | 2018-02-27 15:38:18 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-02-28 08:49:51 +0800 |
commit | 97e1ff1b913bdedcf08c0d1917d488e0097759b7 (patch) | |
tree | 706c1fdc1e7a97039b38553a1314d19774b74435 /BaseTools | |
parent | ea927d2f3f2e34f4b26c10829f5887830cb0720e (diff) | |
download | edk2-97e1ff1b913bdedcf08c0d1917d488e0097759b7.tar.gz edk2-97e1ff1b913bdedcf08c0d1917d488e0097759b7.tar.bz2 edk2-97e1ff1b913bdedcf08c0d1917d488e0097759b7.zip |
BaseTools: Fix report not used --pcd value incorrectly
Argument --pcd gUefiOvmfPkgTokenSpaceGuid.test10=H"{1}",
If the PCD is not used, report value {0x01, 0x00}, is incorrect.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools')
-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 21144991bf..58595d62b3 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -978,6 +978,7 @@ class PcdReport(object): for pcd in GlobalData.BuildOptionPcd:
if (Pcd.TokenSpaceGuidCName, Pcd.TokenCName) == (pcd[0], pcd[1]):
PcdValue = pcd[2]
+ Pcd.DefaultValue = PcdValue
BuildOptionMatch = True
break
|