sf-package/build.xml
changeset 170 31922c5222d7
parent 18 9f36ff790ea7
child 171 a6f2b8d175d0
equal deleted inserted replaced
169:6e35d3992e68 170:31922c5222d7
    10   <import file="../common/build.xml" />
    10   <import file="../common/build.xml" />
    11   
    11   
    12   <!-- import package references -->
    12   <!-- import package references -->
    13   <import file="${sf.package.config.dir}/package_refs.ant.xml" />
    13   <import file="${sf.package.config.dir}/package_refs.ant.xml" />
    14   
    14   
       
    15   <target name="sf-compile">
       
    16     <runtarget target="sf-package-compile"/>
       
    17   </target>
       
    18   
       
    19   <target name="sf-package-compile">
       
    20     
       
    21     <hlm:argSet id="sbs.main.what.sbs.var"> 
       
    22       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    23       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    24       <hlm:arg name="command" value="WHAT" />
       
    25     </hlm:argSet>
       
    26     
       
    27     <hlm:argSet id="sbs.main.clean.sbs.var">
       
    28       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    29       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    30       <hlm:arg name="command" value="CLEAN" />
       
    31     </hlm:argSet>
       
    32     
       
    33     <hlm:argSet id="sbs.tools2.clean.var">
       
    34       <hlm:arg name="config" value="tools2_rel" />
       
    35       <hlm:arg name="singlejob" value="false" />
       
    36       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    37       <hlm:arg name="command" value="CLEAN" />
       
    38     </hlm:argSet>
       
    39     
       
    40     <hlm:argSet id="sbs.tools2.var">
       
    41       <hlm:arg name="config" value="tools2_rel" />
       
    42       <hlm:arg name="singlejob" value="false" />
       
    43       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    44     </hlm:argSet>
       
    45     
       
    46     <hlm:argSet id="sbs.tools.clean.var">
       
    47       <hlm:arg name="config" value="tools_rel" />
       
    48       <hlm:arg name="singlejob" value="true" />
       
    49       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    50       <hlm:arg name="command" value="CLEAN" />
       
    51     </hlm:argSet>
       
    52     
       
    53     <hlm:argSet id="sbs.tools.var">
       
    54       <hlm:arg name="config" value="tools_rel" />
       
    55       <hlm:arg name="singlejob" value="true" />
       
    56       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    57     </hlm:argSet>
       
    58     
       
    59     <hlm:argSet id="sbs.main.sbs.var">
       
    60       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    61       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    62     </hlm:argSet>
       
    63     
       
    64     <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
       
    65     <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
       
    66     
       
    67     <!-- generate baseline dir list to allow delta creation -->
       
    68     <!-- antcall target="sf-list-dir" inheritAll="false">
       
    69       <param name="sf.list.name" value="baseline"/>
       
    70     </antcall -->
       
    71     
       
    72     <!-- OS what -->
       
    73     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
    74       <param name="build.system" value="${sf.spec.build.system}" />
       
    75       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
    76       <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
       
    77       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
    78       <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
       
    79       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
    80       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
    81     </antcall>
       
    82     
       
    83     <!-- OS clean main build -->
       
    84     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
    85       <param name="build.system" value="${sf.spec.build.system}" />
       
    86       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
    87       <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
       
    88       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
    89       <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
       
    90       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
    91       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
    92     </antcall>
       
    93     
       
    94     <!--antcall target="sf-list-dir" inheritAll="false">
       
    95       <param name="sf.list.name" value="post-clean"/>
       
    96     </antcall -->
       
    97     
       
    98     <!-- what has been cleaned from baseline PDK by sos model -->
       
    99     <!-- antcall target="sf-delta-dir" inheritAll="false">
       
   100       <param name="sf.list_a.name" value="baseline"/>
       
   101       <param name="sf.list_b.name" value="post-clean"/>
       
   102     </antcall -->
       
   103     
       
   104     <!-- OS tools2 build first -->
       
   105     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   106       <param name="build.system" value="${sf.spec.build.system}" />
       
   107       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
   108       <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
       
   109       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
   110       <reference refid="sbs.tools2.var" torefid="sbs.var" />
       
   111       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   112       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
   113     </antcall>
       
   114     
       
   115     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   116       <param name="sf.list.name" value="post-build-tools2"/>
       
   117     </antcall -->
       
   118     
       
   119     
       
   120     <!-- OS tools build after tools2 -->
       
   121     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   122       <param name="build.system" value="${sf.spec.build.system}" />
       
   123       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
   124       <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
       
   125       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
   126       <reference refid="sbs.tools.var" torefid="sbs.var" />
       
   127       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   128       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
   129     </antcall>
       
   130     
       
   131     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   132       <param name="sf.list.name" value="post-build-tools"/>
       
   133     </antcall -->
       
   134     
       
   135     <!-- OS main build -->
       
   136     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   137       <param name="build.system" value="${sf.spec.build.system}" />
       
   138       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
   139       <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
       
   140       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
   141       <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
       
   142       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   143       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
   144     </antcall>
       
   145     
       
   146     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   147       <param name="sf.list.name" value="post-build-main"/>
       
   148     </antcall -->
       
   149     
       
   150     <!-- what has been built in tools2+tools+main -->
       
   151     <!-- antcall target="sf-delta-dir" inheritAll="false">
       
   152       <param name="sf.list_a.name" value="post-clean"/>
       
   153       <param name="sf.list_b.name" value="post-build-main"/>
       
   154     </antcall -->
       
   155     
       
   156     <!-- what has been cleaned and rebuilt -->
       
   157     <!-- antcall target="sf-intersect-dir" inheritAll="false">
       
   158       <param name="sf.list_a.name" value="post-clean_delta"/>
       
   159       <param name="sf.list_b.name" value="post-build-main_delta"/>
       
   160     </antcall -->
       
   161     
       
   162     <!-- what has been cleaned and not rebuilt -->
       
   163     
       
   164   </target>
       
   165   
    15 </project>
   166 </project>
    16 
   167