mirror_edk2/BaseTools/Source/Python/Workspace
Yonghong Zhu f0dc69e61b BaseTools: Add support to merge Prebuild and Postbuild into build Process
This feature is enhance build tool to incorporate execution of prebuild
and postbuild.

1.Prebuild script
a.DEFINE PREBUILD in DSC [Defines] section
b.Build command -D PREBUILD to override the one in DSC [Defines] section
1)If PREBUILD is a file, then this file will be used as prebuild script.
2)If PREBUILD is empty, then prebuild script will be disabled.
3)If PREBUILD is not defined in [Defines] section and not passed in on
command line, then prebuild script is also disabled.

2.Prebuild option
a.All options of build tool
b.TARGET, ARCH and TOOL_CHAIN_TAG value, Those value will be from
target.txt file if they are not in build command line.
c.Additional options following prebuild definition. Quotes are needed
when these additional options are present.
d.Quotes would also be required if the path to the prebuild command
contains space or special characters.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-04-07 13:13:22 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
BuildClassObject.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
MetaDataTable.py There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
MetaFileCommentParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MetaFileParser.py BaseTools: Add support to merge Prebuild and Postbuild into build Process 2016-04-07 13:13:22 +08:00
MetaFileTable.py BaseTools/Build: Add error report for incorrect syntax in DEC file. 2015-06-23 08:45:06 +00:00
WorkspaceCommon.py Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
WorkspaceDatabase.py BaseTools: Add support to merge Prebuild and Postbuild into build Process 2016-04-07 13:13:22 +08:00