Changed FvBinding to be a list of Keywords (not using list, just specifying the patte...
[mirror_edk2.git] / Tools / bin / SACreate.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@if "%JAVA_HOME%"=="" goto no_jdk\r
13@if "%WORKSPACE%"=="" goto no_wks\r
14\r
15@if "%1"=="" goto usage\r
16@if "%1"=="-H" (goto usage)\r
17@if "%1"=="-h" (goto usage) else (goto all)\r
18\r
19:usage\r
20@echo off\r
21@echo.\r
22@echo Create a empty SurfaceArea description file for specified SurfaceArea element\r
23@echo.\r
24@echo Usage: SACreate.bat "MSA_FILE" "SURFACE_AREA_ELEMENT" \r
25@echo.\r
26@echo Supported surface area top level element\r
27@echo ModuleSurfaceArea\r
28@echo ModuleBuildDescription\r
29@echo LibraryModuleSurfaceArea\r
30@echo LibraryModuleBuildDescription\r
31@echo FrameworkPlatformDescription\r
32@echo PackageSurfaceArea\r
33goto end\r
34\r
35:all\r
36@ant -q -f %WORKSPACE%\Tools\Source\SurfaceArea\build.xml generate -DSURFACE_AREA_FILE=%~f1 -DSURFACE_AREA_ELEMENT=%2\r
37@goto end\r
38\r
39:no_jdk\r
40 @echo.\r
41 @echo !!! Please set JAVA_HOME !!!\r
42 @echo.\r
43 @goto end\r
44\r
45:no_wks\r
46 @echo.\r
47 @echo !!! Please set WORKSPACE !!!\r
48 @echo.\r
49 @goto end\r
50\r
51:end\r