]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/bin/GenBuildFile.bat
Updated MSA by putting Specification element at the end of the header section
[mirror_edk2.git] / Tools / bin / GenBuildFile.bat
CommitLineData
878ddf1f 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
11\r
12@echo off\r
13\r
14@if "%JAVA_HOME%"=="" goto no_jdk\r
15@if "%WORKSPACE%"=="" goto no_wks\r
16\r
17@if "%1"=="-H" (goto usage)\r
18@if "%1"=="-h" (goto usage) else (goto all)\r
19\r
20:usage\r
21@echo.\r
22@echo Generate entrance build.xml for each module under current directory\r
23@echo.\r
24@echo Usage: GenBuildFile.bat - must be executed in the package level directory\r
25@echo.\r
26goto end\r
27\r
28:all\r
29 ant -q -f %WORKSPACE%\Tools\bin\GenBuildFile.xml\r
30 goto end\r
31\r
32:no_jdk\r
33 @echo.\r
34 @echo !!! Please set JAVA_HOME !!!\r
35 @echo.\r
36 @goto end\r
37\r
38:no_wks\r
39 @echo.\r
40 @echo !!! Please set WORKSPACE !!!\r
41 @echo.\r
42 @goto end\r
43\r
44:end\r
45@echo on\r