summaryrefslogtreecommitdiff
path: root/BaseTools/toolsetup.bat
AgeCommit message (Collapse)Author
2016-11-02BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.batYonghong Zhu
Update toolsetup.bat to call the set_vsprefix_envs.bat to set the PREFIX envs. 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>
2016-10-24edksetup.bat: Support --nt32 X64Cinnamon Shia
Support --nt32 X64 for building 64-bit NT32. For setting up Windows environment variables requited by NT32, follow the same approach as Edk2Setup.bat by using the get_vsvars.bat and SetVisualStudio.bat. Sync the help text of NT32 with Edk2Setup.bat. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-09-21BaseTools: Update toolsetup.bat to set PYTHONPATH env to run python sourceLiming Gao
When python tool exe doesn't exist, toolsetup.bat will set up PYTHONPATH, and set python tool dos script directory into system PATH. Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Erik Bjorge <erik.c.bjorge@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
2016-07-26BaseTools/toolsetup.bat: Fix bug caused by 'CONF_PATH' not definedHao Wu
In batch script files, setting a variable in an 'if' block will only take effect after the 'if' block. This commit fixes the issue of using the variable 'CONF_PATH' right after it is being set in an 'if' block. Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-07-26BaseTools/toolsetup: Do not set CONF_PATH when already set.Marvin Haeuser
When CONF_PATH is already set, toolsetup.bat overwrites its value. This is not the case on Linux platforms (BuildEnv) and contra-productive when using the same Workspace across multiple Operating Systems. With this patch, a check is performed prior to setting the variable. Furthermore, it will not be scanned for Conf directories in PACKAGES_PATH directories to respect the user's choice. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2015-11-30BaseTools/toolsetup.bat: fixed the error when the path contains spaceYonghong Zhu
We have a new simple and effective method to resolve the original issue that the PATH env's update error when the path contains space, so this patch remove the last check in and use the new method to fix the original issue. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19028 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-17BaseTools/toolsetup.bat: fixed the error when the path contains spaceYonghong Zhu
when the path contains space, it will report error for PATH Environment update. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18852 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-08BaseTools: Update edksetup.bat to support multiple workspacesLiming Gao
1. Update edksetup.bat and toolsetup.bat to handle PACKAGES_PATH. BaseTools directory may be in PACKAGES_PATH instead of WORKSAPCE. 2. Introduce EDK_TOOLS_BIN env points to the windows binary tools dir. Windows BaseTools Win32 may be a separate directory. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Wu Hao A <hao.a.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18582 6f19259b-4bc3-4df7-8a09-765794883524
2014-07-01Sync BaseTool trunk (version r2670) into EDKII BaseTools. Gao, Liming
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gao, Liming <liming.gao@intel.com> Reviewed-by: Liu, Yingke D (yingke.d.liu@intel.com) git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15605 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-23Sync BaseTool trunk (version r2599) into EDKII BaseTools.Liming Gao
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Heshen Chen <chen.heshen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-10Sync BaseTools Trunk (version r2518) to EDKII main trunk.lgao4
Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18Sync EDKII BaseTools to BaseTools project r1971lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11Sync basetools' source and binary files with r1707 of the basetools project.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Check In tool source code based on Build tool project revision r1655.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13Add checking for configuration template file.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8304 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08Fixed the over-write message to print only with RECONFIG flaglhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7219 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31added messages for forcing reconfig, over-write of Conf fileslhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7170 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-11fixed a typolhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5341 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22Fixed option name, ForceRebuildlhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4748 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22Removed newbuild option from edksetup.bat command-line, this is now the default.lhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4747 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17Restoring $WORKSPACE/BaseTools location, as the plan is to deprecatejljusten
$WORKSPACE/Tools instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4147 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16Moved $WORKSPACE/BaseTools to $WORKSPACE/Tools/BaseTools.jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4142 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11a) Supported MAKE command in tools_def.txtjwang36
b) Cleaned several message strings in code c) Solved hang issue when the build.exe is broken by Ctrl+C d) Added more specific information for "-v" option of build.exe e) Added "-v"/"-d"/"-q" option for GenFds.exe in makefile if build.exe is called with one of them. f) Removed the calling to vsvars32.bat and added "--nt32" option in edksetup.bat because the nmake.exe's path has been put in tools_def.txt and build.exe will use that information to call nmake.exe g) Removed the calling to vsvars32.bat in BaseTools/toolsetup.bat git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4091 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30Added the svn:executable property to the batch file, toolsetup.bat.lhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3507 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16Added a Reconfig optionlhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3264 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-251) Incorporated generating top level makefile. Now platform build is ↵jwang36
possible (no FD generation). 2) Added GenFw.exe for EFI file generation 3) Changed the destination directory of *.template file to WORKSPACE/Conf 4) Commented out several modules in the MdePkg.dsc file since they cannot be found in the MdePkg package directory. 5) Removed the usage of WORKSPACE_DIR macro in makefile. WORKSPACE is used instead all the way. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2733 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22Added for new build system. Just for module porting purpose. Don't use it in ↵jwang36
normal build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2705 6f19259b-4bc3-4df7-8a09-765794883524