summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-05 13:52:58 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-05 13:52:58 +0000
commitaa64626987622a460911d2291fdbe495f8e54d0d (patch)
tree2b474ed393e0d76db663f9f78923c700ee25d352 /EdkNt32Pkg
parent7c9e5810d09c0f084096d69c6a3823e685505316 (diff)
downloadedk2-platforms-aa64626987622a460911d2291fdbe495f8e54d0d.tar.xz
Add clean and cleanall target for Fat and Logo customized build xml.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1468 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg')
-rw-r--r--EdkNt32Pkg/Logo/Logo_build.xml56
1 files changed, 32 insertions, 24 deletions
diff --git a/EdkNt32Pkg/Logo/Logo_build.xml b/EdkNt32Pkg/Logo/Logo_build.xml
index 32e340d253..1706b5371e 100644
--- a/EdkNt32Pkg/Logo/Logo_build.xml
+++ b/EdkNt32Pkg/Logo/Logo_build.xml
@@ -20,30 +20,25 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<property name="BASE_NAME" value="Logo" />
<!-- Default target -->
- <target name="main" depends="libraries, sourcefiles, sections, output" />
- <!-- Compile all dependency Library instances. -->
- <target name="libraries" />
+ <target name="main" depends="sourcefiles, sections, output" />
<target name="sourcefiles">
- <copy file="${MODULE_DIR}\Logo.bmp"
- tofile="${DEST_DIR_OUTPUT}\Logo.bmp" />
- <!--
- <Build_Graphics FILENAME="logo" FILEPATH="." FILEEXT="bmp"></Build_Graphics>
- -->
+ <copy file="${MODULE_DIR}/Logo.bmp"
+ tofile="${DEST_DIR_OUTPUT}/Logo.bmp" />
</target>
<target name="sections">
<OnDependency>
<sourcefiles>
- <file name="${DEST_DIR_OUTPUT}\logo.bmp"/>
+ <file name="${DEST_DIR_OUTPUT}/logo.bmp"/>
</sourcefiles>
<targetfiles>
- <file name="${DEST_DIR_OUTPUT}\Logo.bin"/>
+ <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
</targetfiles>
<sequential>
- <gensection inputfile="${DEST_DIR_OUTPUT}\logo.bmp"
- outputfile="${DEST_DIR_OUTPUT}\Logo.bin"
+ <gensection inputfile="${DEST_DIR_OUTPUT}/logo.bmp"
+ outputfile="${DEST_DIR_OUTPUT}/Logo.sec"
sectiontype="EFI_SECTION_RAW" />
</sequential>
</OnDependency>
@@ -52,24 +47,37 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<target name="output">
<OnDependency>
<sourcefiles>
- <file name="${DEST_DIR_OUTPUT}\Logo.bin"/>
+ <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
</sourcefiles>
<targetfiles>
- <file name="${BIN_DIR}\${FILE_GUID}-Logo.FFS"/>
+ <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}">
- <compress compressName="dummy">
- <tool outputPath="${DEST_DIR_OUTPUT}" toolName="${WORKSPACE_DIR}\Tools\Bin\GenCRC32Section">
- <input file="${DEST_DIR_OUTPUT}\Logo.bin" />
- </tool>
- </compress>
+ <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>