From e3cc406130b14c020c75e3a169f94ba001bf2128 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Thu, 25 Jan 2007 01:25:02 +0000 Subject: - Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed. - Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR} git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/bin/build.bat | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'Tools/bin') diff --git a/Tools/bin/build.bat b/Tools/bin/build.bat index 3f15bb6..590bed8 100644 --- a/Tools/bin/build.bat +++ b/Tools/bin/build.bat @@ -8,5 +8,30 @@ @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @REM +@echo off + +set _ARGS= +:check_arg +if ""%1""=="""" goto arg_end +if ""%1""==""-q"" goto ant_arg +if ""%1""==""-v"" goto ant_arg +if ""%1""==""-d"" goto ant_arg + +goto ant_target + +:ant_arg + set _ARGS=%_ARGS% %1 + shift + goto check_arg + +:ant_target + set _ARGS=%_ARGS% -DBUILD_TARGET=%1 + shift + goto check_arg + +:arg_end +ant -logger org.tianocore.build.global.GenBuildLogger -f %WORKSPACE%/build.xml %_ARGS% + +set _ARGS= +@echo on -ant -logger org.tianocore.build.global.GenBuildLogger -f %WORKSPACE%/build.xml %* -- cgit v1.1