common/build.postbuild.xml
changeset 637 3effbd6728d4
parent 628 90be37e95e2f
child 638 84fc7d5ec18f
--- a/common/build.postbuild.xml	Thu Oct 08 19:37:59 2009 +0100
+++ b/common/build.postbuild.xml	Fri Oct 09 17:01:52 2009 +0100
@@ -651,7 +651,7 @@
     </if>
     </target>
     
-    <target name="sf-check-missing-os-files">
+    <target name="sf-check-missing-os-files" depends="sf-compile-options">
         <hlm:argSet id="sbs.check.tools.var">
                 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
                 <hlm:arg name="run-check" value="true" />
@@ -670,6 +670,29 @@
             <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
             <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
         </antcall> 
+        <if><istrue value="${sf.os.compile.iterate}"/>
+          <then>
+            <for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.check.splitconfig">
+              <sequential>
+        				<echo message="INFO [Iterative check] @{sf.spec.check.splitconfig}"/>
+                <hlm:argSet id="sbs.check.iterate.main.var">
+                    <hlm:arg name="config" value="@{sf.spec.check.splitconfig}" />
+                    <hlm:arg name="run-check" value="true" />
+                </hlm:argSet>     
+  
+                <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+                    <param name="build.system" value="${sf.spec.build.system}" />
+                    <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+                    <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+                    <param name="build.id" value ="sbs_check"/>
+                    <reference refid="sbs.check.iterate.main.var" torefid="sbs.var" />
+                    <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+                    <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
+                </antcall>
+      				</sequential>
+      			</for>	
+      		</then>		
+        <else>
         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
             <param name="build.system" value="${sf.spec.build.system}" />
             <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
@@ -678,10 +701,12 @@
             <reference refid="sbs.check.main.var" torefid="sbs.var" />
             <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
             <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
-        </antcall> 
+        </antcall>
+        </else>
+        </if> 
     </target>
 
-    <target name="sf-check-missing-s60-files">
+    <target name="sf-check-missing-s60-files" depends="sf-compile-options">
     
         <hlm:argSet id="sbs.check.tools.var">
                 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />