]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Edk2: Update Edk2Setup.bat
authorLiming Gao <liming.gao@intel.com>
Tue, 16 Jun 2015 07:23:45 +0000 (07:23 +0000)
committerlgao4 <lgao4@Edk2>
Tue, 16 Jun 2015 07:23:45 +0000 (07:23 +0000)
Fix the issue when configure X64 NT32, replace NT32_X64 by NT32_64 env.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17644 6f19259b-4bc3-4df7-8a09-765794883524

Edk2Setup.bat

index cadc271df0c1a10de161012049ddc6d47df7992c..0aa786d9ab94fbcec87314f31a9704a948904228 100755 (executable)
@@ -51,7 +51,7 @@
 @set SVN_REVISION=$Revision$\r
 @set RESET_ENVIRONMENT=FALSE\r
 @set NT32PKG=FALSE\r
-@set NT32_64=FALSE\r
+@set NT32_X64=\r
 @set BUILD_TOOLS_WITH=\r
 @set LOCATION=\r
 @set REBUILD_TOOLS=\r
     @REM This option will try to set the environment for building the Nt32Pkg/Nt32Pkg; on a 64-bit \r
     @REM Windows OS\r
     @if /I "%2"=="X64" (\r
-        @set NT32_64=TRUE\r
+        @set NT32_X64=TRUE\r
         @shift\r
     )\r
   @shift\r
     @if not defined VSINSTALLDIR @set "PATH=%ORIGINAL_PATH%"\r
     @if not defined NT32_X64 @call "%WORKSPACE%\BaseTools\get_vsvars.bat"\r
     @if defined NT32_X64 call "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat"\r
-    @set NT32_X64=\r
 )\r
 @if "%NT32PKG%"=="TRUE" (\r
     @if not defined VS_PATH set "VS_PATH=%PATH%"\r
 @set RESET_ENVIRONMENT=\r
 @set RECONFIG=\r
 @set NT32PKG=\r
-@set NT32_64=\r
 @set BUILD_TOOLS_WITH=\r
 @set LOCATION=\r
 @set REBUILD_TOOLS=\r
 @set RESET_ENVIRONMENT=\r
 @set RECONFIG=\r
 @set NT32PKG=\r
-@set NT32_64=\r
 @set BUILD_TOOLS_WITH=\r
 @set LOCATION=\r
 @set REBUILD_TOOLS=\r