mirror of https://github.com/acidanthera/audk.git
Make Logo build following standard build process instead of customize build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1750 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3114b33496
commit
d61237595f
|
@ -2,7 +2,7 @@
|
||||||
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
|
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
|
||||||
<MsaHeader>
|
<MsaHeader>
|
||||||
<ModuleName>Logo</ModuleName>
|
<ModuleName>Logo</ModuleName>
|
||||||
<ModuleType>USER_DEFINED</ModuleType>
|
<ModuleType>BASE</ModuleType>
|
||||||
<GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>
|
<GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<Abstract>Component description file for creating a Logo file.</Abstract>
|
<Abstract>Component description file for creating a Logo file.</Abstract>
|
||||||
|
@ -22,7 +22,6 @@
|
||||||
<OutputFileBasename>Logo</OutputFileBasename>
|
<OutputFileBasename>Logo</OutputFileBasename>
|
||||||
</ModuleDefinitions>
|
</ModuleDefinitions>
|
||||||
<SourceFiles>
|
<SourceFiles>
|
||||||
<Filename ToolCode="DUMMY">Logo_build.xml</Filename>
|
|
||||||
<Filename>Logo.bmp</Filename>
|
<Filename>Logo.bmp</Filename>
|
||||||
</SourceFiles>
|
</SourceFiles>
|
||||||
<PackageDependencies>
|
<PackageDependencies>
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
<?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 -->
|
|
||||||
<target name="main" depends="sections, output" />
|
|
||||||
|
|
||||||
<target name="sections">
|
|
||||||
<OnDependency>
|
|
||||||
<sourcefiles>
|
|
||||||
<file name="${MODULE_DIR}/logo.bmp"/>
|
|
||||||
</sourcefiles>
|
|
||||||
<targetfiles>
|
|
||||||
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
|
||||||
</targetfiles>
|
|
||||||
|
|
||||||
<sequential>
|
|
||||||
<gensection inputfile="${MODULE_DIR}/logo.bmp"
|
|
||||||
outputfile="${DEST_DIR_OUTPUT}/Logo.sec"
|
|
||||||
sectiontype="EFI_SECTION_RAW" />
|
|
||||||
</sequential>
|
|
||||||
</OnDependency>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="output" depends="sections">
|
|
||||||
<OnDependency>
|
|
||||||
<sourcefiles>
|
|
||||||
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
|
||||||
</sourcefiles>
|
|
||||||
<targetfiles>
|
|
||||||
<file name="${BIN_DIR}/${FILE_GUID}-Logo.FFS"/>
|
|
||||||
</targetfiles>
|
|
||||||
|
|
||||||
<sequential>
|
|
||||||
<genffsfile BaseName="Logo"
|
|
||||||
ffsATTRIBCHECKSUM="TRUE"
|
|
||||||
ffsFILETYPE="EFI_FV_FILETYPE_FREEFORM"
|
|
||||||
fileGuid="${FILE_GUID}"
|
|
||||||
outputDir="${BIN_DIR}">
|
|
||||||
<sectFile fileName="${DEST_DIR_OUTPUT}/Logo.sec"/>
|
|
||||||
</genffsfile>
|
|
||||||
</sequential>
|
|
||||||
</OnDependency>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -4224,7 +4224,7 @@
|
||||||
<ModuleSA SupArchList="IA32" PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3" ModuleGuid="7BB28B99-61BB-11D5-9A5D-0090273FC14D">
|
<ModuleSA SupArchList="IA32" PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3" ModuleGuid="7BB28B99-61BB-11D5-9A5D-0090273FC14D">
|
||||||
<ModuleSaBuildOptions>
|
<ModuleSaBuildOptions>
|
||||||
<FvBinding>FV_RECOVERY</FvBinding>
|
<FvBinding>FV_RECOVERY</FvBinding>
|
||||||
<FfsFormatKey>CUSTOM_BUILD</FfsFormatKey>
|
<FfsFormatKey>Logo</FfsFormatKey>
|
||||||
</ModuleSaBuildOptions>
|
</ModuleSaBuildOptions>
|
||||||
</ModuleSA>
|
</ModuleSA>
|
||||||
<ModuleSA SupArchList="IA32" PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d" ModuleGuid="93B80004-9FB3-11d4-9A3A-0090273FC14D">
|
<ModuleSA SupArchList="IA32" PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d" ModuleGuid="93B80004-9FB3-11d4-9A3A-0090273FC14D">
|
||||||
|
|
|
@ -1161,6 +1161,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>
|
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Microcode
|
Microcode
|
||||||
-->
|
-->
|
||||||
|
@ -1181,7 +1182,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<!--
|
<!--
|
||||||
Graphics (bmp, ...)
|
Graphics (bmp, ...)
|
||||||
-->
|
-->
|
||||||
<macrodef name="Build_Graphics">
|
<macrodef name="Build_BMP">
|
||||||
<attribute name="FILEPATH"/>
|
<attribute name="FILEPATH"/>
|
||||||
<attribute name="FILENAME"/>
|
<attribute name="FILENAME"/>
|
||||||
<attribute name="FILEEXT" default="bmp"/>
|
<attribute name="FILEEXT" default="bmp"/>
|
||||||
|
@ -1195,6 +1196,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>
|
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
build EFI file
|
||||||
|
-->
|
||||||
<macrodef name="Build_EFI">
|
<macrodef name="Build_EFI">
|
||||||
<attribute name="FILEPATH"/>
|
<attribute name="FILEPATH"/>
|
||||||
<attribute name="FILENAME"/>
|
<attribute name="FILENAME"/>
|
||||||
|
|
Loading…
Reference in New Issue