summaryrefslogtreecommitdiff
path: root/BaseTools/Conf
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-03-31 14:05:59 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-13 09:31:23 +0800
commit170591e02fa4c2022fcd042a45713e976445b5d0 (patch)
tree7a0362deb2719f1aeec5dc36bedf6a13659a3a70 /BaseTools/Conf
parent13fde91deab96c7a267fc27796e00ea6bceb7724 (diff)
downloadedk2-platforms-170591e02fa4c2022fcd042a45713e976445b5d0.tar.xz
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> (cherry picked from commit f0dc69e61bf2316dcf7cc75eb7e4ba374a5b2832)
Diffstat (limited to 'BaseTools/Conf')
0 files changed, 0 insertions, 0 deletions