]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
EdkUnix spd and fpd added
[mirror_edk2.git] / edksetup.bat
index 8dc4a94f2651fa34b831c10cb2b0845a8a2173de..74f4117b1a936e65cbbf763f77468a8b5f34454a 100644 (file)
@@ -67,7 +67,7 @@ set WORKSPACE=%CD%
 \r
 set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin\r
 \r
-if not defined ORIGINAL_CLASSPATH set ORIGINAL_CLASSPATH= %CLASSPATH%\r
+if not defined ORIGINAL_CLASSPATH set ORIGINAL_CLASSPATH=%CLASSPATH%\r
 set CLASSPATH=%ORIGINAL_CLASSPATH%\r
 \r
 if defined WORKSPACE_TOOLS_PATH goto check_path\r
@@ -84,14 +84,14 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO
 \r
 :path_ok\r
 \r
-@if "%1"=="-h" goto Usage\r
-@if "%1"=="-help" goto Usage\r
-@if "%1"=="--help" goto Usage\r
-@if "%1"=="/h" goto Usage\r
-@if "%1"=="/?" goto Usage\r
-@if "%1"=="/help" goto Usage\r
-@if "%1"=="ForceRebuild" goto ForceBuild\r
-@if "%1"=="Reconfig" goto Reconfig\r
+@if /I "%1"=="-h" goto Usage\r
+@if /I "%1"=="-help" goto Usage\r
+@if /I "%1"=="--help" goto Usage\r
+@if /I "%1"=="/h" goto Usage\r
+@if /I "%1"=="/?" goto Usage\r
+@if /I "%1"=="/help" goto Usage\r
+@if /I "%1"=="ForceRebuild" goto ForceBuild\r
+@if /I "%1"=="Reconfig" goto Reconfig\r
 \r
 @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild\r
 @IF NOT EXIST "Tools\Jars\PcdTools.jar" goto NormalBuild\r
@@ -132,7 +132,7 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO
 @IF NOT EXIST "Tools\bin\antlr.exe" goto NormalBuild\r
 @IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild\r
 \r
-@if "%1"=="Rebuild" goto NormalBuild\r
+@if /I "%1"=="Rebuild" goto NormalBuild\r
 @if NOT "%1"=="" goto Usage\r
 \r
 goto skipbuild\r