]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools:Incremental build not work if VPD values in DSC changed by -D
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 29 Jan 2016 04:48:55 +0000 (04:48 +0000)
committeryzhu52 <yzhu52@Edk2>
Fri, 29 Jan 2016 04:48:55 +0000 (04:48 +0000)
commite459de78001be89d37cc286d0fcd57f92e1a438a
tree6f68e08d3562248d0ca6865b913d32e911dcbf3c
parentd66670f9ea830c8f6e1f21b2deeca58128e3bfde
BaseTools:Incremental build not work if VPD values in DSC changed by -D

If a -D flag is passed into build that selects different lines in
[PcdsDynamicExVpd], then build does not see any changes to the timestamp
of the DSC file and the VPD tool is not used to regenerate the VPD
region based in the statements that are active. so we changed the detect
condition and use SaveFileOnChange function to generate VPD.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19767 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/Common/VpdInfoFile.py