587
|
1 |
.. index::
|
|
2 |
module: Configuring CTC for SBS
|
|
3 |
|
|
4 |
=======================
|
|
5 |
Configuring CTC for SBS
|
|
6 |
=======================
|
|
7 |
|
|
8 |
The following commands will generate mon.sym files in the root of your build area which are sent to the ATS server to generate coverage information.
|
|
9 |
|
|
10 |
Clean components:
|
|
11 |
|
|
12 |
hlm compile-main -Dbuild.drive=z: -Dsysdef.configurations.list=build_ctc_clean -Dbuild.system=sbs
|
|
13 |
|
|
14 |
Build for CTC:
|
|
15 |
|
|
16 |
hlm compile-main -Dbuild.drive=z: -Dsysdef.configurations.list=build_ctc -Dsbs.build.ctc=true -Dbuild.system=sbs
|
|
17 |
|
|
18 |
Ant configuration:
|
|
19 |
|
|
20 |
.. code-block:: xml
|
|
21 |
|
|
22 |
<hlm:sbsoptions id="commonSBS">
|
|
23 |
<arg line="-k" />
|
|
24 |
<arg name="--filters" value="FilterMetadataLog"/>
|
|
25 |
</hlm:sbsoptions>
|
|
26 |
|
|
27 |
<hlm:sbsoptions id="armv5_CTC_SBS">
|
|
28 |
<argset refid="commonSBS" />
|
|
29 |
<arg line="-c armv5_udeb" />
|
|
30 |
</hlm:sbsoptions>
|
|
31 |
|
|
32 |
<hlm:sbsinput id="armv5-ctc-sbs">
|
|
33 |
<sbsoptions refid="armv5_CTC_SBS" />
|
|
34 |
</hlm:sbsinput>
|
|
35 |
|
|
36 |
<hlm:sbsinput id="build_ctc_input_armv5">
|
|
37 |
<sbsInput refid="armv5-ctc-${build.system}" />
|
|
38 |
<sbsOptions>
|
|
39 |
<arg name="--logfile" value="${compile.log.dir}/${build.id}_armv5_build_ctc.log" />
|
|
40 |
</sbsOptions>
|
|
41 |
</hlm:sbsinput>
|
|
42 |
|
|
43 |
<hlm:sbsbuild id="sbs.build_ctc">
|
|
44 |
<sbsInput refid="build_ctc_input_armv5" />
|
|
45 |
</hlm:sbsbuild>
|
|
46 |
|
|
47 |
<hlm:sbsoptions id="cleanCommon">
|
|
48 |
<arg line="REALLYCLEAN" />
|
|
49 |
<arg line="-c armv5" />
|
|
50 |
</hlm:sbsoptions>
|
|
51 |
|
|
52 |
<hlm:sbsoptions id="armv5Clean">
|
|
53 |
<argset refid="cleanCommon" />
|
|
54 |
</hlm:sbsoptions>
|
|
55 |
|
|
56 |
<hlm:sbsinput id="armv5-sbs-clean">
|
|
57 |
<sbsoptions refid="armv5Clean" />
|
|
58 |
</hlm:sbsinput>
|
|
59 |
|
|
60 |
<hlm:sbsinput id="build_input_clean_armv5">
|
|
61 |
<sbsInput refid="armv5-${build.system}-clean" />
|
|
62 |
<sbsOptions>
|
|
63 |
<arg name="--logfile" value="${compile.log.dir}/${build.id}_armv5_build_clean.log" />
|
|
64 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_armv5_build_clean" />
|
|
65 |
</sbsOptions>
|
|
66 |
</hlm:sbsinput>
|
|
67 |
|
|
68 |
<hlm:sbsbuild id="sbs.build_ctc_clean">
|
|
69 |
<sbsInput refid="build_input_clean_armv5" />
|
|
70 |
</hlm:sbsbuild> |