]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fix a bug for tooldef class not include the newly Env
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 28 Oct 2016 01:09:48 +0000 (09:09 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 2 Nov 2016 01:50:04 +0000 (09:50 +0800)
commita0c9ce31b686f1aad449e3572fddbe981fe9e1c7
tree6674bc3ebc3708cfb7fab9739e4e871c9e1e90d1
parent18ca2fec97010e8a79407ec092539218c04ee1c5
BaseTools: Fix a bug for tooldef class not include the newly Env

Prebuild script may update os.environ, but the tooldef class not include
the new ENV variables. so after the Launch prebuild script, we should
re-init the tooldef class to include the new ENV variables.

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