sf-platform/build.xml
changeset 412 e7e26750f383
parent 375 65e81f48fe17
child 391 bb7bd27a0a82
equal deleted inserted replaced
411:72b4f11581d3 412:e7e26750f383
    15   <!--
    15   <!--
    16   * Property defaults
    16   * Property defaults
    17    -->
    17    -->
    18 
    18 
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    20   <target name="sf-build-noprep" depends="sf-compile,sf-postbuild">
    20   <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild">
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    23   </target>
    23   </target>
       
    24 
       
    25   <target name="sf-platform-bootstrap" depends="sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
       
    26 
       
    27   <target name="sf-platform-bootstrap-gt" >
       
    28     <echo>[SF-platform-bootstrap-gt] Warning: hard-coded to tb91!</echo>
       
    29     <!-- do initial stuff to get raptor working -->
       
    30     <copy file="${build.drive}/sf/os/deviceplatformrelease/symbianosbld/cedarutils/Symbian_OS.hrh" tofile="${build.drive}/epoc32/include/variant/Symbian_OS.hrh" failonerror="true" verbose="true" />
       
    31     <copy file="${build.drive}/sf/os/deviceplatformrelease/symbianosbld/cedarutils/Symbian_OS_vtb91sf.cfg" tofile="${build.drive}/epoc32/tools/variant/variant.cfg" failonerror="true" verbose="true" preservelastmodified="true" />
       
    32   </target>
       
    33 
       
    34   <target name="sf-platform-bootstrap-s60" >    
       
    35     <!-- Do touch on S60 variant.cfg to force raptor to export -->
       
    36     <touch file="${build.drive}/${sf.spec.bldmefirst.s60.sbs.variant.cfg}" />
       
    37     <delete file="${build.log.dir}/${build.id}_bldmefirst-s60.log"/>
       
    38 
       
    39     <property name="sf.compile.bldmefirst.command.sbsexport" value="sbs EXPORT --ignore-os-detection --export-only"/>
       
    40     <!-- do bldmefirst stage 1-->
       
    41     <for list="${sf.spec.bldmefirst.s60.exports}" delimiter="," param="sf.spec.bldmefirst.s60.export">
       
    42       <sequential>
       
    43           <echo message="Performing bldmefirst export on @{sf.spec.bldmefirst.s60.export}"/>
       
    44           <exec executable="cmd" dir="${build.drive}" failonerror="true" append="true" output="${build.log.dir}/${build.id}_bldmefirst-s60.log">
       
    45             <arg value="/c"/>
       
    46             <arg value="${sf.compile.bldmefirst.command.sbsexport}" />
       
    47             <arg value="-b"/>
       
    48             <arg value="${build.drive}/@{sf.spec.bldmefirst.s60.export}/bld.inf"/>
       
    49           </exec>  
       
    50       </sequential>
       
    51     </for>  
       
    52     <copy todir="${build.drive}/epoc32/tools/makefile_templates/s60">
       
    53         <fileset dir="${build.drive}/sf/tools/makefile_templates">
       
    54           <exclude name=".hg*"/>
       
    55           <exclude name=".hg/**"/>
       
    56           <exclude name="layers.sysdef.xml"/>
       
    57         </fileset>
       
    58     </copy>
       
    59   </target>
       
    60             
    24 
    61 
    25   <!-- workaround until GenXML can merge v2.0.0 fragments -->
    62   <!-- workaround until GenXML can merge v2.0.0 fragments -->
    26   <!--
    63   <!--
    27     This target is effectively a callback, called from compile-main.
    64     This target is effectively a callback, called from compile-main.
    28     Its responsibility is to convert the set of peices in ref "system.definition.files" into one sys def with absolute paths
    65     Its responsibility is to convert the set of peices in ref "system.definition.files" into one sys def with absolute paths