]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools: Add Multiple Workspaces support for custom Makefiles.
authorMarvin Haeuser <Marvin.Haeuser@outlook.com>
Sun, 21 Feb 2016 00:46:58 +0000 (08:46 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 9 Mar 2016 02:05:27 +0000 (10:05 +0800)
commit01e418d652bb3a7cbacc82d74fab1cc5260d0e1f
tree32951973819c25ff6af419187d036b76e4c51d23
parent7c50b3434377cbb49ce4514ee31339000a5cadc0
BaseTools: Add Multiple Workspaces support for custom Makefiles.

This patch makes sure the MODULE_DIR variable points to the correct
location when multiple workspaces are used. Currently, it is
always prefixed with $(WORKSPACE), which only works as long as the
package is in the Workspace.
Code modules were not effected because the required paths were valid,
but for custom Makefiles, the MODULE_DIR variable is used.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py