]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/build.xml
Update Device Path Module to use PCD Feature Flags to determine of the Device Path...
[mirror_edk2.git] / Tools / build.xml
index 9e07a3d5e38d4b313b91b8895912d44bbc73d8df..ea6a2501d3b341b3485e4764895b3af8bf9a2eb1 100644 (file)
@@ -39,6 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/Cpptasks/build.xml\r
           Source/FrameworkWizard/build.xml\r
           Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
           "/>\r
     </subant>\r
     <echo message="The EDK II Java Tools build has completed!"/>\r
@@ -74,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
@@ -99,6 +116,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/SurfaceArea/build.xml \r
           Source/TianoTools/build.xml\r
           Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
         "/>\r
     </subant>\r
   </target>\r
@@ -131,6 +149,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/SurfaceArea/build.xml \r
           Source/TianoTools/build.xml\r
           Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
         "/>\r
     </subant>\r
   </target>\r