Add new sf-build-roms target to invoke iMaker rom building
authorShabe Razvi <shaber@symbian.org>
Tue, 30 Mar 2010 10:23:25 +0100
changeset 956 aabab255ad7b
parent 951 5d2cdb4d231d
child 957 9a43fe34cdb4
Add new sf-build-roms target to invoke iMaker rom building
common/build.postbuild.xml
--- a/common/build.postbuild.xml	Mon Mar 29 14:48:28 2010 +0100
+++ b/common/build.postbuild.xml	Tue Mar 30 10:23:25 2010 +0100
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project name="SF-POSTBUILD" xmlns:hlm="http://www.nokia.com/helium">
-    <target name="sf-postbuild">
+    <target name="sf-postbuild" depends="sf-build-roms">
         <stopwatch name="sf-postbuild"/>
         <echo>[SF-POSTBUILD]</echo>
         
@@ -885,4 +885,14 @@
         </copy>
     </target>
 
+    <target name="sf-build-roms">
+        <if>
+            <istrue value="${sf.spec.referenceroms.createimages.enable}" />
+            <then>
+                <echo message="INFO Building iMaker configurations"/>
+                <runtarget target="build-roms"/>
+            </then>
+        </if>    
+    </target>
+    
 </project>