<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
<MsaHeader>\r
<ModuleName>Logo</ModuleName>\r
- <ModuleType>USER_DEFINED</ModuleType>\r
+ <ModuleType>BASE</ModuleType>\r
<GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>\r
<Version>1.0</Version>\r
<Abstract>Component description file for creating a Logo file.</Abstract>\r
<OutputFileBasename>Logo</OutputFileBasename>\r
</ModuleDefinitions>\r
<SourceFiles>\r
- <Filename ToolCode="DUMMY">Logo_build.xml</Filename>\r
<Filename>Logo.bmp</Filename>\r
</SourceFiles>\r
<PackageDependencies>\r
+++ /dev/null
-<?xml version="1.0" ?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
--->\r
-<project name="Logo" default="main" basedir="." >\r
- <!-- Apply external ANT task -->\r
- <taskdef resource="frameworktasks.tasks" /> \r
- <taskdef resource="cpptasks.tasks" /> \r
- <typedef resource="cpptasks.types" /> \r
- <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
- <property environment="env" />\r
- <!-- All Properties --> \r
- <property name="BASE_NAME" value="Logo" /> \r
- \r
- <!-- Default target --> \r
- <target name="main" depends="sections, output" /> \r
- \r
- <target name="sections">\r
- <OnDependency>\r
- <sourcefiles>\r
- <file name="${MODULE_DIR}/logo.bmp"/>\r
- </sourcefiles>\r
- <targetfiles>\r
- <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
- </targetfiles>\r
- \r
- <sequential>\r
- <gensection inputfile="${MODULE_DIR}/logo.bmp" \r
- outputfile="${DEST_DIR_OUTPUT}/Logo.sec" \r
- sectiontype="EFI_SECTION_RAW" />\r
- </sequential>\r
- </OnDependency>\r
- </target>\r
-\r
- <target name="output" depends="sections">\r
- <OnDependency>\r
- <sourcefiles>\r
- <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
- </sourcefiles>\r
- <targetfiles>\r
- <file name="${BIN_DIR}/${FILE_GUID}-Logo.FFS"/>\r
- </targetfiles>\r
-\r
- <sequential>\r
- <genffsfile BaseName="Logo" \r
- ffsATTRIBCHECKSUM="TRUE"\r
- ffsFILETYPE="EFI_FV_FILETYPE_FREEFORM" \r
- fileGuid="${FILE_GUID}"\r
- outputDir="${BIN_DIR}">\r
- <sectFile fileName="${DEST_DIR_OUTPUT}/Logo.sec"/>\r
- </genffsfile>\r
- </sequential>\r
- </OnDependency>\r
- </target>\r
-\r
- <target name="clean">\r
- <delete includeemptydirs="true">\r
- <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>\r
- </delete>\r
- </target>\r
-\r
- <target name="cleanall">\r
- <delete includeemptydirs="true">\r
- <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>\r
- </delete>\r
- <delete includeemptydirs="true">\r
- <fileset dir="${DEST_DIR_DEBUG}" includes="**/*"/>\r
- </delete>\r
- </target>\r
-\r
-</project>\r
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>\r
</sequential>\r
</macrodef>\r
+ \r
<!--\r
Microcode\r
-->\r
<!--\r
Graphics (bmp, ...)\r
-->\r
- <macrodef name="Build_Graphics">\r
+ <macrodef name="Build_BMP">\r
<attribute name="FILEPATH"/>\r
<attribute name="FILENAME"/> \r
<attribute name="FILEEXT" default="bmp"/>\r
tofile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.bin"/>\r
</sequential>\r
</macrodef> \r
+\r
+ <!--\r
+ build EFI file\r
+ -->\r
<macrodef name="Build_EFI">\r
<attribute name="FILEPATH"/>\r
<attribute name="FILENAME"/>\r