Remove unused code.
[mirror_edk2.git] / EdkFatBinPkg / Fat_build.xml
index e99c13ffac44e09d442d1a09ad90aa439a093eb4..74695b83f4cf7edd1f4a249533b5274d2849cb89 100644 (file)
@@ -19,18 +19,34 @@ 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
+    <OnDependency>\r
+      <sourcefiles>\r
+        <file name="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS"/>\r
+      </sourcefiles>\r
+      <targetfiles>\r
+        <file name="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS"/>\r
+      </targetfiles>\r
+      <sequential>\r
+        <copy file="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS" tofile="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS" />\r
+      </sequential>\r
+    </OnDependency>\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}.DXE" />\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