]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools: back up the binary files when hash value is same
authorYonghong Zhu <yonghong.zhu@intel.com>
Tue, 12 Dec 2017 07:18:22 +0000 (15:18 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 13 Dec 2017 08:06:52 +0000 (16:06 +0800)
commit83397f95f99b0884b27764f8ed13615a500e8fd7
tree7c838dd66c5e836b5cfd987385410263b11056ed
parent5381ff634203a087fdba81b17c34e3d9b637b406
BaseTools: back up the binary files when hash value is same

V2: change to use InfBuildData but not ModuleAutoGen

We meet the case that first build with --hash option, then build it
again with --hash and --binary-destination option, since the hash value
is same, tool will not build the driver again, it cause the binary
files are not backed up.

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/AutoGen/AutoGen.py
BaseTools/Source/Python/build/build.py