2006-04-22 00:54:32 +02:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<!--
|
|
|
|
Copyright (c) 2006, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
-->
|
|
|
|
<project name="Logo" default="main" basedir="." >
|
|
|
|
<!-- Apply external ANT task -->
|
|
|
|
<taskdef resource="frameworktasks.tasks" />
|
|
|
|
<taskdef resource="cpptasks.tasks" />
|
|
|
|
<typedef resource="cpptasks.types" />
|
|
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml" />
|
|
|
|
<property environment="env" />
|
|
|
|
<!-- All Properties -->
|
|
|
|
<property name="BASE_NAME" value="Logo" />
|
|
|
|
|
|
|
|
<!-- Default target -->
|
2006-09-06 09:07:07 +02:00
|
|
|
<target name="main" depends="sections, output" />
|
2006-04-22 00:54:32 +02:00
|
|
|
|
|
|
|
<target name="sections">
|
|
|
|
<OnDependency>
|
|
|
|
<sourcefiles>
|
2006-09-06 09:07:07 +02:00
|
|
|
<file name="${MODULE_DIR}/logo.bmp"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</sourcefiles>
|
|
|
|
<targetfiles>
|
2006-09-05 15:52:58 +02:00
|
|
|
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</targetfiles>
|
|
|
|
|
|
|
|
<sequential>
|
2006-09-06 09:07:07 +02:00
|
|
|
<gensection inputfile="${MODULE_DIR}/logo.bmp"
|
2006-09-05 15:52:58 +02:00
|
|
|
outputfile="${DEST_DIR_OUTPUT}/Logo.sec"
|
2006-04-22 00:54:32 +02:00
|
|
|
sectiontype="EFI_SECTION_RAW" />
|
|
|
|
</sequential>
|
|
|
|
</OnDependency>
|
|
|
|
</target>
|
|
|
|
|
2006-09-06 09:07:07 +02:00
|
|
|
<target name="output" depends="sections">
|
2006-04-22 00:54:32 +02:00
|
|
|
<OnDependency>
|
|
|
|
<sourcefiles>
|
2006-09-05 15:52:58 +02:00
|
|
|
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</sourcefiles>
|
|
|
|
<targetfiles>
|
2006-09-05 15:52:58 +02:00
|
|
|
<file name="${BIN_DIR}/${FILE_GUID}-Logo.FFS"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</targetfiles>
|
2006-09-05 15:52:58 +02:00
|
|
|
|
2006-04-22 00:54:32 +02:00
|
|
|
<sequential>
|
2006-09-05 15:52:58 +02:00
|
|
|
<genffsfile BaseName="Logo"
|
|
|
|
ffsATTRIBCHECKSUM="TRUE"
|
|
|
|
ffsFILETYPE="EFI_FV_FILETYPE_FREEFORM"
|
|
|
|
fileGuid="${FILE_GUID}"
|
|
|
|
outputDir="${BIN_DIR}">
|
|
|
|
<sectFile fileName="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</genffsfile>
|
|
|
|
</sequential>
|
|
|
|
</OnDependency>
|
|
|
|
</target>
|
2006-09-05 15:52:58 +02:00
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete includeemptydirs="true">
|
|
|
|
<fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="cleanall">
|
|
|
|
<delete includeemptydirs="true">
|
|
|
|
<fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>
|
|
|
|
</delete>
|
|
|
|
<delete includeemptydirs="true">
|
|
|
|
<fileset dir="${DEST_DIR_DEBUG}" includes="**/*"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
2006-04-22 00:54:32 +02:00
|
|
|
</project>
|