]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/BuildClassObject.py
BaseTools: Fix the bug 'DSC DEFAULT' in report wrongly use FDF value
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 9 Oct 2017 13:15:04 +0000 (21:15 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 11 Oct 2017 05:51:25 +0000 (13:51 +0800)
commitcc71d8b7f8e7013783bb3ce77ac375ecb94e107d
tree9a24b0316a2d1daffd6e89a069ff9b7ae276818d
parent911405a3f1122892f4d40a0f44e4e0c79b379f07
BaseTools: Fix the bug 'DSC DEFAULT' in report wrongly use FDF value

current the PCD value in DSC file may be override by FDF file, then it
cause the 'DSC DEFAULT' in build report wrongly display the FDF value
but not the DSC file's value.
This patch add a attribute DscDefaultValue for PcdClassObject to save
the actual DSC file's PCD value and use this value to display for 'DSC
DEFAULT'.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/BuildClassObject.py
BaseTools/Source/Python/Workspace/WorkspaceDatabase.py
BaseTools/Source/Python/build/BuildReport.py