1. Fix one bug on EBC for GetPowerOfTwo64.c
[mirror_edk2.git] / EdkNt32Pkg / Logo / Logo_build.xml
1 <?xml version="1.0" ?>
2 <!--
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 -->
12 <project name="Logo" default="main" basedir="." >
13 <!-- Apply external ANT task -->
14 <taskdef resource="frameworktasks.tasks" />
15 <taskdef resource="cpptasks.tasks" />
16 <typedef resource="cpptasks.types" />
17 <taskdef resource="net/sf/antcontrib/antlib.xml" />
18 <property environment="env" />
19 <!-- All Properties -->
20 <property name="BASE_NAME" value="Logo" />
21
22 <!-- Default target -->
23 <target name="main" depends="libraries, sourcefiles, sections, output" />
24 <!-- Compile all dependency Library instances. -->
25 <target name="libraries" />
26
27 <target name="sourcefiles">
28 <copy file="${MODULE_DIR}\Logo.bmp"
29 tofile="${DEST_DIR_OUTPUT}\Logo.bmp" />
30 <!--
31 <Build_Graphics FILENAME="logo" FILEPATH="." FILEEXT="bmp"></Build_Graphics>
32 -->
33 </target>
34
35 <target name="sections">
36 <OnDependency>
37 <sourcefiles>
38 <file name="${DEST_DIR_OUTPUT}\logo.bmp"/>
39 </sourcefiles>
40 <targetfiles>
41 <file name="${DEST_DIR_OUTPUT}\Logo.bin"/>
42 </targetfiles>
43
44 <sequential>
45 <gensection inputfile="${DEST_DIR_OUTPUT}\logo.bmp"
46 outputfile="${DEST_DIR_OUTPUT}\Logo.bin"
47 sectiontype="EFI_SECTION_RAW" />
48 </sequential>
49 </OnDependency>
50 </target>
51
52 <target name="output">
53 <OnDependency>
54 <sourcefiles>
55 <file name="${DEST_DIR_OUTPUT}\Logo.bin"/>
56 </sourcefiles>
57 <targetfiles>
58 <file name="${BIN_DIR}\${FILE_GUID}-Logo.FFS"/>
59 </targetfiles>
60
61 <sequential>
62 <genffsfile BaseName="Logo" ffsATTRIBCHECKSUM="TRUE"
63 ffsFILETYPE="EFI_FV_FILETYPE_FREEFORM" fileGuid="${FILE_GUID}"
64 outputDir="${BIN_DIR}">
65 <compress compressName="dummy">
66 <tool outputPath="${DEST_DIR_OUTPUT}" toolName="${WORKSPACE_DIR}\Tools\Bin\GenCRC32Section">
67 <input file="${DEST_DIR_OUTPUT}\Logo.bin" />
68 </tool>
69 </compress>
70 </genffsfile>
71 </sequential>
72 </OnDependency>
73 </target>
74
75 </project>