]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: fix the bug for [BuildOptions] of multiple workspace support
authorYonghong Zhu <yonghong.zhu@intel.com>
Wed, 13 Apr 2016 08:27:05 +0000 (16:27 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 14 Apr 2016 04:58:11 +0000 (12:58 +0800)
commit2b1c08acfceb94326c67b7d8f9fe5d8ab4cb7f61
tree4a03187508a01a44ccea15aa7eb9e682ab77ba18
parent017fb1cd4c5e3c8b914eb217ac1760223687dad7
BaseTools: fix the bug for [BuildOptions] of multiple workspace support

when enable Multiple workspace and there have other option(eg: -I) before
$(WORKSPACE), handleWsMacro cannot return correct which cause the
ArmVirtPkg build failure.
example:
[BuildOptions]
  *_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmVirtPkg/Include

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/Common/MultipleWorkspace.py