summaryrefslogtreecommitdiffstats
path: root/edksetup.bat
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2019-06-06 10:48:50 +0800
committerLiming Gao <liming.gao@intel.com>2019-06-28 15:04:42 +0800
commit541d6017e2d1f3a3a9e016c0ce03704e57f7ceb1 (patch)
tree59ff16defaf13752e4f2a31572fe5bd7f4038750 /edksetup.bat
parentd31666211873086c058285f4a4f1933bc3c3428c (diff)
downloadedk2-541d6017e2d1f3a3a9e016c0ce03704e57f7ceb1.tar.gz
edk2-541d6017e2d1f3a3a9e016c0ce03704e57f7ceb1.tar.bz2
edk2-541d6017e2d1f3a3a9e016c0ce03704e57f7ceb1.zip
Edk2: Remove nt32 related flag in bat files
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1693 NT32Pkg has been removed, remove nt32 related flags in bat files. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'edksetup.bat')
-rwxr-xr-xedksetup.bat23
1 files changed, 1 insertions, 22 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 662ffc0060..d607e2ebea 100755
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -83,18 +83,6 @@ if exist %EDK_BASETOOLS% (
:checkNt32Flag
if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%
-@REM The Nt32 Emulation Platform requires Microsoft Libraries
-@REM and headers to interface with Windows.
-if /I "%1"=="--nt32" (
- if /I "%2"=="X64" (
- shift
- call "%BASE_TOOLS_PATH%\Scripts\SetVisualStudio.bat"
- ) else (
- call "%BASE_TOOLS_PATH%\get_vsvars.bat"
- )
- shift
-)
-
:checkBaseTools
IF NOT EXIST "%EDK_TOOLS_PATH%\toolsetup.bat" goto BadBaseTools
call %EDK_TOOLS_PATH%\toolsetup.bat %*
@@ -149,16 +137,7 @@ if "%1"=="" goto end
:Usage
@echo.
- @echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [--nt32 [X64]] [Reconfig] [Rebuild] [ForceRebuild]"
- @echo --nt32 [X64] If a compiler tool chain is not available in the
- @echo environment, call a script to attempt to set one up.
- @echo This flag is only required if building the
- @echo Nt32Pkg/Nt32Pkg.dsc system emulator.
- @echo If the X64 argument is set, and a compiler tool chain is
- @echo not available, attempt to set up a tool chain that will
- @echo create X64 binaries. Setting these two options have the
- @echo potential side effect of changing tool chains used for a
- @echo rebuild.
+ @echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [Reconfig] [Rebuild] [ForceRebuild]"
@echo.
@echo Reconfig Reinstall target.txt, tools_def.txt and build_rule.txt.
@echo Rebuild Perform incremental rebuild of BaseTools binaries.