summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-05 21:09:05 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-05 21:09:05 +0000
commit7a6de051139499edd80ddccafcfcba4f34515d35 (patch)
tree0e72223a4cd0fa5a7f624b1db20cc76f2ae4f925
parent3477b5f36079433cb6eba8e48884160b40d3a9ef (diff)
downloadedk2-platforms-7a6de051139499edd80ddccafcfcba4f34515d35.tar.xz
Simplify the script. It now allows normal ant targets and flags to be passed straight through. For example
build –v clean build all –k git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@778 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/bin/build.bat24
1 files changed, 1 insertions, 23 deletions
diff --git a/Tools/bin/build.bat b/Tools/bin/build.bat
index 6e115f431b..ac9759625d 100644
--- a/Tools/bin/build.bat
+++ b/Tools/bin/build.bat
@@ -9,26 +9,4 @@
@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@REM
-@REM @if "%1"=="" (goto build)
-@REM @if "%1"=="clean" (goto clean)
-@REM @if "%1"=="cleanall" (goto cleanall)
-
-:build
- @echo on
- ant -f %WORKSPACE%/build.xml %1 %2 %3
- @echo off
- @goto end
-
-:clean
- @echo on
- ant clean -f %WORKSPACE%/build.xml
- @echo off
- @goto end
-
-:cleanall
- @echo on
- ant cleanall -f %WORKSPACE%/build.xml
- @echo off
- @goto end
-
-:end \ No newline at end of file
+ant -f %WORKSPACE%/build.xml %*