]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools: Update Build tool to support multiple workspaces
authorLi YangX <yangx.li@intel.com>
Thu, 8 Oct 2015 09:27:14 +0000 (09:27 +0000)
committerlgao4 <lgao4@Edk2>
Thu, 8 Oct 2015 09:27:14 +0000 (09:27 +0000)
commit05cc51ad5894c8904d0fe5cdcf3f4d0a07dab85d
tree856943e7687d0a6d39088ca8f87519c753bcc5dc
parent6fa04d934bd92d12acfa206fce825f3c02120f62
BaseTools: Update Build tool to support multiple workspaces

WORKSPACE is still kept.
New PACKAGES_PATH is introduced to specify the additional WORKSPACEs.
In PACKAGES_PATH, ';' is separator in Windows, ':' is separator in Linux.

Build directory is in WORKSPACE. Package, BaseTools and Conf directory
will be found from WORKSPACE and PACKAGES_PATH.

In implementation, BaseTools adds MultipleWorkspace class for
the file path conversion from WORKSPACE and PACKAGES_PATH.

Verify two tree layouts.
Root\edk2\MdePkg
Root\edk2\MdeMdeModulePkg
Root\edk2\...
1. set WORKSPACE=Root\edk2
2. set WORKSPACE=Root, and set PACKAGES_PATH=Root\edk2

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Li YangX <yangx.li@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18579 6f19259b-4bc3-4df7-8a09-765794883524
15 files changed:
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/AutoGen/GenMake.py
BaseTools/Source/Python/Common/EdkIIWorkspace.py
BaseTools/Source/Python/Common/FdfParserLite.py
BaseTools/Source/Python/Common/LongFilePathOsPath.py
BaseTools/Source/Python/Common/Misc.py
BaseTools/Source/Python/Common/MultipleWorkspace.py [new file with mode: 0644]
BaseTools/Source/Python/Common/String.py
BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools/Source/Python/GenFds/GenFds.py
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools/Source/Python/GenFds/Region.py
BaseTools/Source/Python/Workspace/WorkspaceDatabase.py
BaseTools/Source/Python/build/BuildReport.py
BaseTools/Source/Python/build/build.py