]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
Added back safety check for PE/COFF image walking. I think the safety check is broken...
[mirror_edk2.git] / edksetup.bat
index 3a72031dbdb4bf9397eda45711013ea68daf032c..4a5abcc5869941a221fef24f1f244df4eb52db08 100644 (file)
@@ -15,7 +15,7 @@
 @REM set XMLBEANS_HOME=C:\xmlbeans\r
 @REM set CYGWIN_HOME=C:\cygwin\r
 \r
-@REM usage: edksetup.bat [skip]\r
+@REM usage: edksetup.bat [Rebuild] [ForceRebuild]\r
 @REM if the argument, skip is present, only the paths and the\r
 @REM test and set of environment settings are performed. \r
 \r
@@ -70,14 +70,14 @@ set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin
 if defined WORKSPACE_TOOLS_PATH goto check_path\r
 set PATH=%FRAMEWORK_TOOLS_PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%XMLBEANS_HOME%\bin;%PATH%\r
 set WORKSPACE_TOOLS_PATH=%FRAMEWORK_TOOLS_PATH%\r
-echo Setting the PATH variable to include the Framework_Tools_Path for this WORKSPACE\r
+echo Setting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE\r
 goto path_ok\r
 \r
 :check_path\r
 if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto path_ok\r
 set PATH=%FRAMEWORK_TOOLS_PATH%;%PATH%\r
 set WORKSPACE_PATH=%WORKSPACE%\r
-echo Resetting the PATH variable to include the Framework_Tools_Path for this WORKSPACE\r
+echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE\r
 \r
 :path_ok\r
 \r
@@ -128,6 +128,7 @@ echo Resetting the PATH variable to include the Framework_Tools_Path for this WO
 \r
 @if "%1"=="Rebuild" goto NormalBuild\r
 @if "%1"=="ForceRebuild" goto ForceBuild\r
+@if NOT "%1"=="" goto Usage\r
 \r
 goto skipbuild\r
 \r
@@ -238,6 +239,7 @@ set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar\r
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar\r
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar\r
+echo CLASSPATH:     %CLASSPATH%\r
 goto end\r
 \r
 :Usage\r