Update Binary Fat module to release version for reduce size.
[mirror_edk2.git] / EdkNt32Pkg / Logo / Logo_build.xml
CommitLineData
878ddf1f 1<?xml version="1.0" ?>\r
2<!--\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11-->\r
12<project name="Logo" default="main" basedir="." >\r
13 <!-- Apply external ANT task -->\r
14 <taskdef resource="frameworktasks.tasks" /> \r
15 <taskdef resource="cpptasks.tasks" /> \r
16 <typedef resource="cpptasks.types" /> \r
17 <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
18 <property environment="env" />\r
19 <!-- All Properties --> \r
20 <property name="BASE_NAME" value="Logo" /> \r
21 \r
22 <!-- Default target --> \r
4100d149 23 <target name="main" depends="sections, output" /> \r
878ddf1f 24 \r
25 <target name="sections">\r
26 <OnDependency>\r
27 <sourcefiles>\r
4100d149 28 <file name="${MODULE_DIR}/logo.bmp"/>\r
878ddf1f 29 </sourcefiles>\r
30 <targetfiles>\r
aa646269 31 <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
878ddf1f 32 </targetfiles>\r
33 \r
34 <sequential>\r
4100d149 35 <gensection inputfile="${MODULE_DIR}/logo.bmp" \r
aa646269 36 outputfile="${DEST_DIR_OUTPUT}/Logo.sec" \r
878ddf1f 37 sectiontype="EFI_SECTION_RAW" />\r
38 </sequential>\r
39 </OnDependency>\r
40 </target>\r
41\r
4100d149 42 <target name="output" depends="sections">\r
878ddf1f 43 <OnDependency>\r
44 <sourcefiles>\r
aa646269 45 <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
878ddf1f 46 </sourcefiles>\r
47 <targetfiles>\r
aa646269 48 <file name="${BIN_DIR}/${FILE_GUID}-Logo.FFS"/>\r
878ddf1f 49 </targetfiles>\r
aa646269 50\r
878ddf1f 51 <sequential>\r
aa646269
LG
52 <genffsfile BaseName="Logo" \r
53 ffsATTRIBCHECKSUM="TRUE"\r
54 ffsFILETYPE="EFI_FV_FILETYPE_FREEFORM" \r
55 fileGuid="${FILE_GUID}"\r
56 outputDir="${BIN_DIR}">\r
57 <sectFile fileName="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
878ddf1f 58 </genffsfile>\r
59 </sequential>\r
60 </OnDependency>\r
61 </target>\r
aa646269
LG
62\r
63 <target name="clean">\r
64 <delete includeemptydirs="true">\r
65 <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>\r
66 </delete>\r
67 </target>\r
68\r
69 <target name="cleanall">\r
70 <delete includeemptydirs="true">\r
71 <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>\r
72 </delete>\r
73 <delete includeemptydirs="true">\r
74 <fileset dir="${DEST_DIR_DEBUG}" includes="**/*"/>\r
75 </delete>\r
76 </target>\r
77\r
878ddf1f 78</project>\r