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