Update Binary Fat module to release version for reduce size.
[mirror_edk2.git] / EdkFatBinPkg / Fat_build.xml
index 23bcb65..74695b8 100644 (file)
@@ -21,8 +21,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   \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
+    <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="clean">\r