- Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
[mirror_edk2.git] / Tools / bin / build.bat
CommitLineData
3f9d00a8 1@REM\r
2@REM Copyright (c) 2006, Intel Corporation\r
3@REM All rights reserved. This program and the accompanying materials\r
4@REM are licensed and made available under the terms and conditions of the BSD License\r
5@REM which accompanies this distribution. The full text of the license may be found at\r
6@REM http://opensource.org/licenses/bsd-license.php\r
7@REM \r
8@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
9@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10@REM\r
e3cc4061 11@echo off\r
12\r
13set _ARGS= \r
14:check_arg\r
15if ""%1""=="""" goto arg_end\r
16if ""%1""==""-q"" goto ant_arg\r
17if ""%1""==""-v"" goto ant_arg\r
18if ""%1""==""-d"" goto ant_arg\r
19\r
20goto ant_target\r
21\r
22:ant_arg \r
23 set _ARGS=%_ARGS% %1\r
24 shift\r
25 goto check_arg\r
26\r
27:ant_target\r
28 set _ARGS=%_ARGS% -DBUILD_TARGET=%1\r
29 shift\r
30 goto check_arg\r
31\r
32:arg_end\r
33ant -logger org.tianocore.build.global.GenBuildLogger -f %WORKSPACE%/build.xml %_ARGS%\r
34\r
35set _ARGS=\r
36@echo on\r
3f9d00a8 37\r