From: Liming Gao Date: Tue, 16 Jun 2015 07:23:45 +0000 (+0000) Subject: Edk2: Update Edk2Setup.bat X-Git-Tag: edk2-stable201903~9622 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c31d3701734d07cd0d3d7211cb6a92c7d1e4d831 Edk2: Update Edk2Setup.bat 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 Reviewed-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17644 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Edk2Setup.bat b/Edk2Setup.bat index cadc271df0..0aa786d9ab 100755 --- a/Edk2Setup.bat +++ b/Edk2Setup.bat @@ -51,7 +51,7 @@ @set SVN_REVISION=$Revision$ @set RESET_ENVIRONMENT=FALSE @set NT32PKG=FALSE -@set NT32_64=FALSE +@set NT32_X64= @set BUILD_TOOLS_WITH= @set LOCATION= @set REBUILD_TOOLS= @@ -180,7 +180,7 @@ @REM This option will try to set the environment for building the Nt32Pkg/Nt32Pkg; on a 64-bit @REM Windows OS @if /I "%2"=="X64" ( - @set NT32_64=TRUE + @set NT32_X64=TRUE @shift ) @shift @@ -377,7 +377,6 @@ @if not defined VSINSTALLDIR @set "PATH=%ORIGINAL_PATH%" @if not defined NT32_X64 @call "%WORKSPACE%\BaseTools\get_vsvars.bat" @if defined NT32_X64 call "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat" - @set NT32_X64= ) @if "%NT32PKG%"=="TRUE" ( @if not defined VS_PATH set "VS_PATH=%PATH%" @@ -447,7 +446,6 @@ @set RESET_ENVIRONMENT= @set RECONFIG= @set NT32PKG= -@set NT32_64= @set BUILD_TOOLS_WITH= @set LOCATION= @set REBUILD_TOOLS= @@ -467,7 +465,6 @@ @set RESET_ENVIRONMENT= @set RECONFIG= @set NT32PKG= -@set NT32_64= @set BUILD_TOOLS_WITH= @set LOCATION= @set REBUILD_TOOLS=