Simplify the script. It now allows normal ant targets and flags to be passed straight...
[mirror_edk2.git] / Tools / bin / build.bat
index 6e115f4..ac97596 100644 (file)
@@ -9,26 +9,4 @@
 @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 @REM\r
 \r
-@REM @if "%1"==""         (goto build)\r
-@REM @if "%1"=="clean"    (goto clean)\r
-@REM @if "%1"=="cleanall" (goto cleanall)\r
-\r
-:build\r
-       @echo on\r
-       ant -f %WORKSPACE%/build.xml %1 %2 %3\r
-       @echo off\r
-       @goto end\r
-\r
-:clean\r
-       @echo on\r
-       ant clean -f %WORKSPACE%/build.xml\r
-       @echo off\r
-       @goto end\r
-       \r
-:cleanall\r
-       @echo on\r
-       ant cleanall -f %WORKSPACE%/build.xml\r
-       @echo off\r
-       @goto end\r
-\r
-:end
\ No newline at end of file
+ant -f %WORKSPACE%/build.xml %*\r