sf-package/build.xml
changeset 284 626d3847cf2a
parent 267 779cc88ed845
equal deleted inserted replaced
283:2ba361491037 284:626d3847cf2a
    28   <target name="sf-package-compile">
    28   <target name="sf-package-compile">
    29     
    29     
    30     <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
    30     <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
    31     <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
    31     <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
    32     
    32     
    33     <!-- BUILD tools2 CLEAN -->
    33     <!-- BUILD tools2_rel CLEAN -->
    34     <hlm:argSet id="sbs.tools2.clean.var">
    34     <!--
    35       <hlm:arg name="config" value="tools2" />
    35     <hlm:argSet id="sbs.tools2_rel.clean.var">
       
    36       <hlm:arg name="config" value="tools2_rel" />
    36       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
    37       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
    37       <hlm:arg name="command" value="CLEAN"/>
    38       <hlm:arg name="command" value="CLEAN"/>
    38     </hlm:argSet>
    39     </hlm:argSet>
    39     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    40     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    40       <param name="build.system" value="${sf.spec.build.system}" />
    41       <param name="build.system" value="${sf.spec.build.system}" />
    41       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    42       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    42       <reference refid="sbs.tools2.clean.var" torefid="sbs.var" />
    43       <reference refid="sbs.tools2_rel.clean.var" torefid="sbs.var" />
    43       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    44       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    44       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    45       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    45     </antcall>
    46     </antcall>
       
    47     -->
    46     
    48     
    47     <!-- BUILD tools2 -->
    49     <!-- BUILD tools2_rel -->
    48     <hlm:argSet id="sbs.tools2.var">
    50     <hlm:argSet id="sbs.tools2_rel.var">
    49       <hlm:arg name="config" value="tools2.whatlog" />
    51       <hlm:arg name="config" value="tools2_rel.whatlog" />
    50       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    52       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    51     </hlm:argSet>
    53     </hlm:argSet>
    52     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    54     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    53       <param name="build.system" value="${sf.spec.build.system}" />
    55       <param name="build.system" value="${sf.spec.build.system}" />
    54       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    56       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    55       <reference refid="sbs.tools2.var" torefid="sbs.var" />
    57       <reference refid="sbs.tools2_rel.var" torefid="sbs.var" />
    56       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    58       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    57       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    59       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    58     </antcall>
    60     </antcall>
    59     
    61     
    60     <!-- BUILD tools CLEAN -->
    62     <!-- BUILD tools CLEAN -->
       
    63     <!-- 
    61     <hlm:argSet id="sbs.tools.clean.var">
    64     <hlm:argSet id="sbs.tools.clean.var">
    62       <hlm:arg name="config" value="tools"/>
    65       <hlm:arg name="config" value="tools"/>
    63       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    66       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    64       <hlm:arg name="command" value="CLEAN"/>
    67       <hlm:arg name="command" value="CLEAN"/>
    65     </hlm:argSet>
    68     </hlm:argSet>
    68       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    71       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    69       <reference refid="sbs.tools.clean.var" torefid="sbs.var" />
    72       <reference refid="sbs.tools.clean.var" torefid="sbs.var" />
    70       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    73       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    71       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    74       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    72     </antcall>
    75     </antcall>
       
    76     -->
    73     
    77     
    74     <!-- BUILD tools -->
    78     <!-- BUILD tools -->
       
    79     <!-- 
    75     <hlm:argSet id="sbs.tools.var">
    80     <hlm:argSet id="sbs.tools.var">
    76       <hlm:arg name="config" value="tools.whatlog"/>
    81       <hlm:arg name="config" value="tools.whatlog"/>
    77       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    82       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    78     </hlm:argSet>
    83     </hlm:argSet>
    79     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    84     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    81       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    86       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    82       <reference refid="sbs.tools.var" torefid="sbs.var" />
    87       <reference refid="sbs.tools.var" torefid="sbs.var" />
    83       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    88       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    84       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    89       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    85     </antcall>
    90     </antcall>
       
    91     -->
    86     
    92     
    87     <!-- BUILD winscw CLEAN -->
    93     <!-- BUILD winscw CLEAN -->
       
    94     <!--
    88     <hlm:argSet id="sbs.winscw.clean.var">
    95     <hlm:argSet id="sbs.winscw.clean.var">
    89       <hlm:arg name="config" value="winscw" />
    96       <hlm:arg name="config" value="winscw" />
    90       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    97       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    91       <hlm:arg name="command" value="CLEAN"/>
    98       <hlm:arg name="command" value="CLEAN"/>
    92     </hlm:argSet>
    99     </hlm:argSet>
    95       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   102       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    96       <reference refid="sbs.winscw.clean.var" torefid="sbs.var" />
   103       <reference refid="sbs.winscw.clean.var" torefid="sbs.var" />
    97       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   104       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
    98       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   105       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    99     </antcall>
   106     </antcall>
       
   107     -->
   100     
   108     
   101     <!-- BUILD winscw -->
   109     <!-- BUILD winscw -->
   102     <hlm:argSet id="sbs.winscw.var">
   110     <hlm:argSet id="sbs.winscw.var">
   103       <hlm:arg name="config" value="winscw.whatlog" />
   111       <hlm:arg name="config" value="winscw.whatlog" />
   104       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   112       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   110       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   118       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   111       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   119       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   112     </antcall>
   120     </antcall>
   113     
   121     
   114     <!-- BUILD armv5 CLEAN -->
   122     <!-- BUILD armv5 CLEAN -->
       
   123     <!--
   115     <hlm:argSet id="sbs.armv5.clean.var">
   124     <hlm:argSet id="sbs.armv5.clean.var">
   116       <hlm:arg name="config" value="armv5" />
   125       <hlm:arg name="config" value="armv5" />
   117       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   126       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   118       <hlm:arg name="command" value="CLEAN"/>
   127       <hlm:arg name="command" value="CLEAN"/>
   119     </hlm:argSet>
   128     </hlm:argSet>
   122       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   131       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   123       <reference refid="sbs.armv5.clean.var" torefid="sbs.var" />
   132       <reference refid="sbs.armv5.clean.var" torefid="sbs.var" />
   124       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   133       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   125       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   134       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   126     </antcall>
   135     </antcall>
       
   136     -->
   127     
   137     
   128     <!-- BUILD armv5 -->
   138     <!-- BUILD armv5 -->
   129     <hlm:argSet id="sbs.armv5.var">
   139     <hlm:argSet id="sbs.armv5.var">
   130       <hlm:arg name="config" value="armv5.whatlog" />
   140       <hlm:arg name="config" value="armv5.whatlog" />
   131       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   141       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   138       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   148       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   139     </antcall>
   149     </antcall>
   140     
   150     
   141     <!-- CHECK -->
   151     <!-- CHECK -->
   142     <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log">
   152     <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log">
   143       <arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c tools -c tools2 -c winscw -c armv5 -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/>
   153       <arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c tools2_rel -c winscw -c armv5 -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/>
   144       <!-- argument of -j option can be parameterized with: ${number.of.threads} -->
   154       <!-- argument of -j option can be parameterized with: ${number.of.threads} -->
   145     </exec>
   155     </exec>
   146     
   156     
   147   </target>
   157   </target>
   148   
   158