summaryrefslogtreecommitdiffstats
path: root/edksetup.bat
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-10-26 11:31:52 +0800
committerLiming Gao <liming.gao@intel.com>2016-10-26 13:45:45 +0800
commit4e908975c645bedd40ac77497d42629ef3cf9fc5 (patch)
treebf1ed81a41a83c7fd2e4b42de7465a117483284e /edksetup.bat
parent50506050d1fb82666932363d8510dd8c9e46dcc7 (diff)
downloadedk2-4e908975c645bedd40ac77497d42629ef3cf9fc5.tar.gz
edk2-4e908975c645bedd40ac77497d42629ef3cf9fc5.tar.bz2
edk2-4e908975c645bedd40ac77497d42629ef3cf9fc5.zip
edksetup.bat: make sure BASE_TOOLS_PATH be set correctly
Move checkNt32Flag before set BASE_TOOLS_PATH env to make sure it be set Cc: Yonghong Zhu <yonghong.zhu@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>
Diffstat (limited to 'edksetup.bat')
-rwxr-xr-xedksetup.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 6c8c0aa97f..7aa167549b 100755
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -77,9 +77,10 @@ if not defined EDK_TOOLS_PATH (
)
)
)
-if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%
:checkNt32Flag
+if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%
+
@REM The Nt32 Emluation Platform requires Microsoft Libraries
@REM and headers to interface with Windows.
if /I "%1"=="--nt32" (