]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkFatBinPkg/Fat_build.xml
Add clean and cleanall target for Fat and Logo customized build xml.
[mirror_edk2.git] / EdkFatBinPkg / Fat_build.xml
index 4eb2677c7a9f212a474044bbbe0544130931bba5..23bcb65c36eadf637603368e9dfa76ddd728dce1 100644 (file)
@@ -19,18 +19,25 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   <!-- All Properties --> \r
   <property name="BASE_NAME" value="Fat" /> \r
   \r
-  <!-- Default target --> \r
-  <target name="main" depends="libraries, sourcefiles, sections, output" /> \r
-  <!-- Compile all dependency Library instances. --> \r
-  <target name="libraries" />\r
+  <!-- Default target -->\r
+  <target name="main">\r
+    <copy file="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS" \r
+      tofile="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS" />\r
+  </target>\r
 \r
-  <target name="sourcefiles" />\r
-  \r
-  <target name="sections" />\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="output">\r
-    <copy file="${MODULE_DIR}\${ARCH}\${BASE_NAME}.FFS" \r
-      tofile="${BIN_DIR}\${FILE_GUID}-${BASE_NAME}.FFS" />\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
+\r
 </project>\r