]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/build.xml
Add EntryPointLib class once ImageEntryPoint is found in inf file.
[mirror_edk2.git] / Tools / build.xml
index 06cc9211d7ce516afec7e37432ee275ffe82d87a..ea6a2501d3b341b3485e4764895b3af8bf9a2eb1 100644 (file)
@@ -75,8 +75,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r
 </catalog>]]>\r
     </echo>\r
-    <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>\r
-    <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>\r
+    <if>\r
+      <not>\r
+        <available file="Conf/tools_def.txt"/>\r
+      </not>\r
+      <then>\r
+        <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt"/>\r
+      </then>\r
+    </if>\r
+\r
+    <if>\r
+      <not>\r
+        <available file="Conf/target.txt"/>\r
+      </not>\r
+      <then>\r
+        <copy file="Conf/target.template" tofile="Conf/target.txt"/>\r
+      </then>\r
+    </if>\r
+\r
     <if>\r
       <not>\r
         <available file="Conf/FrameworkDatabase.db"/>\r