summaryrefslogtreecommitdiff
path: root/Edk2Setup.bat
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-06-16 07:23:45 +0000
committerlgao4 <lgao4@Edk2>2015-06-16 07:23:45 +0000
commitc31d3701734d07cd0d3d7211cb6a92c7d1e4d831 (patch)
tree959ae1f1645de4eda6488470c90a126934aa868c /Edk2Setup.bat
parentb442ad5c07c2c8f9a13ce22e74edd9eef91f34e3 (diff)
downloadedk2-platforms-c31d3701734d07cd0d3d7211cb6a92c7d1e4d831.tar.xz
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 <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
Diffstat (limited to 'Edk2Setup.bat')
-rwxr-xr-xEdk2Setup.bat7
1 files changed, 2 insertions, 5 deletions
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=