]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Added a test for NewBuild argument if this is the second time through the setup ...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Oct 2007 18:53:37 +0000 (18:53 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Oct 2007 18:53:37 +0000 (18:53 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4218 6f19259b-4bc3-4df7-8a09-765794883524

edksetup.bat

index 9bb95a54862394e6136f93b5d14c34d787f84770..dbc631291fcdaf25d5a72345e9a5cec9112f33ae 100644 (file)
@@ -55,11 +55,11 @@ goto check_vc
 @REM platform emulation environment.\r
 if defined VCINSTALLDIR goto check_cygwin\r
 if defined VS71COMNTOOLS (\r
- @REM Use Visual Studio .NET 2003 if it is installed\r
- call "%VS71COMNTOOLS%\vsvars32.bat"\r
 @REM Use Visual Studio .NET 2003 if it is installed\r
 call "%VS71COMNTOOLS%\vsvars32.bat"\r
 ) else if defined VS80COMNTOOLS (\r
- @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.\r
- call "%VS80COMNTOOLS%\vsvars32.bat"\r
 @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.\r
 call "%VS80COMNTOOLS%\vsvars32.bat"\r
 ) else (\r
   echo.\r
   echo !!! WARNING !!!! Cannot find Visual Studio !!!\r
@@ -68,6 +68,7 @@ if defined VS71COMNTOOLS (
 goto check_new_build\r
 \r
 :check_cygwin\r
+@if /I "%1"=="NewBuild" goto NewBuild\r
 if defined CYGWIN_HOME goto check_java\r
 if exist c:\cygwin (\r
   set CYGWIN_HOME=c:\cygwin\r
@@ -293,6 +294,7 @@ echo.
 @goto end\r
 \r
 :NewBuild\r
+echo in NewBuild\r
 @IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild\r
 if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools\r
 @call BaseTools\toolsetup.bat\r