]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools: Fix the Windows GCC Build Failure with too long path
authorYonghong Zhu <yonghong.zhu@intel.com>
Thu, 3 Nov 2016 07:44:17 +0000 (15:44 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 4 Nov 2016 06:57:09 +0000 (14:57 +0800)
commit669b6cc60bf610bbee32e79ed165ca604764c169
treee7634adf7a82a98e33c07a536e3c76496e5cdca4
parent0c45a5b288437f62b93c046b4cc8827919a79fd1
BaseTools: Fix the Windows GCC Build Failure with too long path

When path is too long, build tool will wrap them into resp.txt, then call
gcc @resp.txt. It will cause windows GCC build failure, because resp.txt
still uses windows directory separator \. This patch change the \ to /.

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/AutoGen/GenMake.py