]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/GlobalData.py
BaseTools: Fix a bug Build directory should relative to WORKSPACE
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 13 Oct 2017 02:47:24 +0000 (10:47 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Mon, 16 Oct 2017 08:41:40 +0000 (16:41 +0800)
commit97058144294759ffb64005a8543d5dd9a5bdc1fc
treeb912de5b129fd1d0f7c7c454c91230d9dc50a6d8
parent9c8c4478cfcacaf5fd60b75ff78d26732d93a5b8
BaseTools: Fix a bug Build directory should relative to WORKSPACE

The bug is for build output files it still use mws.join function, it
cause maybe we will get the build output files in the PACKAGES_PATH
because mws.join will try WORKSPACE first, if the file doesn't exist
then try PACKAGES_PATH. But for build output, we expected it should
relative to WORKSPACE.

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/Common/GlobalData.py
BaseTools/Source/Python/Common/String.py