3
|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
2 |
<build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
|
|
3 |
<!-- Commonly used variants.
|
|
4 |
|
|
5 |
These can be referenced from the command-line or in configurations.
|
|
6 |
|
|
7 |
-->
|
|
8 |
|
|
9 |
<!-- This variant turns debug info on for arm only -->
|
|
10 |
<var name="debug_info">
|
|
11 |
<set name='DEBUG_INFO' value='1'/>
|
|
12 |
</var>
|
5
|
13 |
|
3
|
14 |
<!-- Run this variant to turn on trace compiler -->
|
|
15 |
<var name="tracecompiler">
|
|
16 |
<set name='USE_TRACE_COMPILER' value='1'/>
|
|
17 |
<env name='JAVA_HOME' default='' type='path'/>
|
|
18 |
<env name='SBS_JAVATC' default='$(JAVA_HOME)/bin/java.exe' type='tool' versionCommand='$(SBS_JAVATC) -version' versionResult='version \"1\.[5-9]' host='win*' />
|
|
19 |
<env name='SBS_JAVATC' default='$(JAVA_HOME)/bin/java' type='tool' versionCommand='$(SBS_JAVATC) -version' versionResult='version \"1\.[5-9]' host='lin*' />
|
|
20 |
</var>
|
5
|
21 |
|
|
22 |
<!-- Overrides the default debugging format for the ARM targets. -->
|
|
23 |
<var name="dwarf3">
|
|
24 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/>
|
|
25 |
</var>
|
3
|
26 |
|
|
27 |
<var name="techview">
|
|
28 |
</var>
|
|
29 |
|
|
30 |
<var name="test">
|
|
31 |
<set name='TESTCODE' value='TRUE'/>
|
|
32 |
</var>
|
|
33 |
|
|
34 |
<var name="savespace">
|
|
35 |
<set name='SAVESPACE' value='TRUE'/>
|
|
36 |
</var>
|
|
37 |
|
5
|
38 |
<var name="generate_linkerfeedback">
|
|
39 |
<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
|
|
40 |
</var>
|
3
|
41 |
|
5
|
42 |
<var name="use_linkerfeedback">
|
|
43 |
<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
|
|
44 |
<set name='LINKERFEEDBACK_STAGE2' value='TRUE'/>
|
|
45 |
</var>
|
3
|
46 |
|
5
|
47 |
<var name="profilerfeedback">
|
|
48 |
<set name='USE_PROFILER_FEEDBACK' value='TRUE'/>
|
|
49 |
<env name='ARM_PROFILER_FILE' default='' type='path'/>
|
|
50 |
</var>
|
3
|
51 |
|
5
|
52 |
<var name="ltcg">
|
|
53 |
<set name='LTCG' value='TRUE'/>
|
|
54 |
<set name='LTCG_OPTION' value='--ltcg'/>
|
|
55 |
</var>
|
3
|
56 |
|
5
|
57 |
<var name="multifile">
|
|
58 |
<set name='MULTIFILE_ENABLED' value='TRUE'/>
|
|
59 |
</var>
|
3
|
60 |
|
5
|
61 |
<!-- build from clean can skip some processing -->
|
|
62 |
<var name="bfc">
|
|
63 |
<set name='DEPEND_SKIP' value='TRUE'/>
|
|
64 |
</var>
|
3
|
65 |
|
|
66 |
<!-- SMP variant for Kernel Code -->
|
|
67 |
<var name="smp">
|
|
68 |
<append name="CDEFS" value="__SMP__"/>
|
|
69 |
<append name="PLATMACROS.WINDOWS" value="SMP"/>
|
|
70 |
<!-- PLATMACROS.LINUX is set from PLATMACROS.WINDOWS -->
|
|
71 |
<append name="TRADITIONAL_PLATFORM" value='SMP' separator="" />
|
|
72 |
<append name="VARIANTPLATFORM" value="smp" separator=""/>
|
|
73 |
<set name="GENERATE_ABIV1_IMPLIBS" value=""/>
|
|
74 |
</var>
|
|
75 |
|
|
76 |
<!-- emit formatted releasable information into the logs for post-build parsing -->
|
|
77 |
<var name="whatlog">
|
|
78 |
<set name='WHATLOG' value='TRUE'/>
|
|
79 |
</var>
|
|
80 |
|
|
81 |
<var name="gcce4_3_2" extends="gcce_base">
|
22
|
82 |
<env name="SBS_GCCE432BIN" type="path" />
|
|
83 |
<set name="GCCEBIN" value="$(SBS_GCCE432BIN)" />
|
3
|
84 |
<set name="OWN_LIBRARY_OPTION" value=""/>
|
|
85 |
<set name="STATIC_LIBS_LIST" value=""/>
|
|
86 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/>
|
|
87 |
<set name="ARMLIBS" value=""/>
|
9
|
88 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="soft"/>
|
|
89 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
|
22
|
90 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="soft"/>
|
|
91 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
|
3
|
92 |
<set name="CC.ARMV5" value="-march=armv5t"/>
|
22
|
93 |
<set name="CC.ARMV6" value="-march=armv6t2"/>
|
|
94 |
<set name="CC.ARMV7" value="-march=armv7"/>
|
3
|
95 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
|
|
96 |
<set name="RVCTLIB" value=""/>
|
|
97 |
<set name="CC.NO_UNALIGNED_ACCESS" value=""/>
|
|
98 |
<set name="SPLIT_OPTION" value=""/>
|
|
99 |
<set name="NEED_ENTRYPOINT_LIBRARY" value=""/>
|
|
100 |
<set name="RVCTBIN" value="" />
|
|
101 |
<set name="RVCTINC" value="" />
|
|
102 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/>
|
|
103 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/>
|
|
104 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="" />
|
22
|
105 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/>
|
|
106 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/>
|
3
|
107 |
</var>
|
9
|
108 |
|
|
109 |
<var name="gcce4_3_3" extends="gcce4_3_2">
|
22
|
110 |
<env name="SBS_GCCE433BIN" type="path" />
|
|
111 |
<set name="GCCEBIN" value="$(SBS_GCCE433BIN)" />
|
3
|
112 |
</var>
|
5
|
113 |
|
|
114 |
<var name="gcce4_4_1" extends="gcce4_3_3">
|
22
|
115 |
<env name="SBS_GCCE441BIN" type="path" />
|
|
116 |
<set name="GCCEBIN" value="$(SBS_GCCE441BIN)" />
|
5
|
117 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
|
22
|
118 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_4"/>
|
|
119 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_4__"/>
|
5
|
120 |
</var>
|
|
121 |
|
3
|
122 |
<var name="rvct2_2" extends="rvct">
|
|
123 |
<env name="RVCT22BIN" type="path"/>
|
|
124 |
<env name="RVCT22INC" type="path"/>
|
|
125 |
<env name="RVCT22LIB" type="path"/>
|
|
126 |
<set name="RVCTBIN" value="$(RVCT22BIN)"/>
|
|
127 |
<set name="RVCTINC" value="$(RVCT22INC)"/>
|
|
128 |
<set name="RVCTLIB" value="$(RVCT22LIB)"/>
|
|
129 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --vsn" versionResult="Compiler, RVCT2\.2\b"/>
|
|
130 |
<set name="OWN_LIBRARY_OPTION" value="-Ono_known_library"/>
|
|
131 |
<set name="RELOCATABLE_IMAGE_OPTION" value="--reloc"/>
|
|
132 |
<set name="SPLIT_OPTION" value="--split"/>
|
|
133 |
<set name="PLATMACROS.VAR" value="ARMCC_2 ARMCC_2_2"/>
|
|
134 |
<set name="ARMMACROS.VAR" value="__ARMCC_2__ __ARMCC_2_2__"/>
|
|
135 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
|
|
136 |
<set name="STATIC_LIBS_LIST" value="h_t__uf.l(switch8.o)"/>
|
|
137 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct2_2.dso drtrvct2_2.dso"/>
|
|
138 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt2_2.lib"/>
|
|
139 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt2_2.lib"/>
|
|
140 |
<set name="USRTLIB" value="usrt2_2.lib"/>
|
|
141 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="False"/>
|
|
142 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--memaccess -UL41"/>
|
|
143 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
|
9
|
144 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
|
3
|
145 |
<set name="CC.ARMV5" value="--cpu 5T"/>
|
|
146 |
<set name="CC.ARMV6" value="--cpu 6"/>
|
|
147 |
</var>
|
|
148 |
|
|
149 |
<var name="rvct3_1" extends="rvct">
|
|
150 |
<env name="RVCT31BIN" type="path"/>
|
|
151 |
<env name="RVCT31INC" type="path"/>
|
|
152 |
<env name="RVCT31LIB" type="path"/>
|
|
153 |
<set name="RVCTBIN" value="$(RVCT31BIN)"/>
|
|
154 |
<set name="RVCTINC" value="$(RVCT31INC)"/>
|
|
155 |
<set name="RVCTLIB" value="$(RVCT31LIB)"/>
|
|
156 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="310[6-9]\d\d\b"/>
|
|
157 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
|
|
158 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
|
|
159 |
<set name="SPLIT_OPTION" value=""/>
|
|
160 |
<set name="PLATMACROS.VAR" value="ARMCC_3 ARMCC_3_1"/>
|
|
161 |
<set name="ARMMACROS.VAR" value="__ARMCC_3__ __ARMCC_3_1__"/>
|
|
162 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--export_all"/>
|
|
163 |
<set name="STATIC_LIBS_LIST" value="h_5.l"/>
|
|
164 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/>
|
|
165 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/>
|
|
166 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/>
|
|
167 |
<set name="USRTLIB" value="usrt3_1.lib"/>
|
|
168 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
|
|
169 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
|
|
170 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
|
9
|
171 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
|
3
|
172 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
|
9
|
173 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
|
3
|
174 |
<set name="CC.ARMV5" value="--cpu 5TE"/>
|
|
175 |
<set name="CC.ARMV6" value="--cpu 6"/>
|
|
176 |
<set name="CC.ARMV7" value="--cpu 7-A"/>
|
|
177 |
</var>
|
|
178 |
|
|
179 |
<var name="rvct4_0" extends="rvct">
|
|
180 |
<env name="RVCT40BIN" type="path"/>
|
|
181 |
<env name="RVCT40INC" type="path"/>
|
|
182 |
<env name="RVCT40LIB" type="path"/>
|
|
183 |
<set name="RVCTBIN" value="$(RVCT40BIN)"/>
|
|
184 |
<set name="RVCTINC" value="$(RVCT40INC)"/>
|
|
185 |
<set name="RVCTLIB" value="$(RVCT40LIB)"/>
|
|
186 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="400[4-9]\d\d\b"/>
|
|
187 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
|
|
188 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
|
|
189 |
<set name="SPLIT_OPTION" value=""/>
|
|
190 |
<set name="STDLIB_OPTION" value=""/>
|
|
191 |
<set name="PLATMACROS.VAR" value="ARMCC_4 ARMCC_4_0"/>
|
|
192 |
<set name="ARMMACROS.VAR" value="__ARMCC_4__ __ARMCC_4_0__"/>
|
|
193 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--override_visibility"/>
|
|
194 |
<set name="STATIC_LIBS_LIST" value=""/>
|
|
195 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
|
|
196 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/>
|
|
197 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/>
|
|
198 |
<set name="USRTLIB" value="usrt4_0.lib"/>
|
|
199 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
|
|
200 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
|
|
201 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp+vfpv2"/>
|
9
|
202 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="vfpv2"/>
|
3
|
203 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp+vfpv3"/>
|
9
|
204 |
<!-- Not supported yet : <set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv3"/> -->
|
|
205 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv2"/>
|
3
|
206 |
<set name="CC.ARMV5" value="--cpu 5TE"/>
|
|
207 |
<set name="CC.ARMV6" value="--cpu 6"/>
|
|
208 |
<set name="CC.ARMV7" value="--cpu 7-A"/>
|
|
209 |
</var>
|
|
210 |
|
|
211 |
<var name="urel">
|
|
212 |
<set name="DEBUG_INFO" value=""/>
|
|
213 |
<set name="SYMBIAN_CCFLAGS" value="$(REL_OPTIMISATION)"/>
|
|
214 |
<set name="VARIANTTYPE" value="urel"/>
|
|
215 |
<append name="CDEFS" value="NDEBUG"/>
|
|
216 |
</var>
|
|
217 |
|
|
218 |
<var name="udeb">
|
|
219 |
<set name="DEBUG_INFO" value="1"/>
|
|
220 |
<set name="SYMBIAN_CCFLAGS" value="$(DEBUG_OPTIMISATION)"/>
|
|
221 |
<set name="VARIANTTYPE" value="udeb"/>
|
|
222 |
<append name="CDEFS" value="_DEBUG"/>
|
|
223 |
</var>
|
|
224 |
|
|
225 |
<var name="remove_freeze">
|
|
226 |
<set name='EFREEZE_REMOVE_OPTION' value='-Remove'/>
|
|
227 |
</var>
|
|
228 |
|
|
229 |
<!-- OS variant mechanism is now deprecated. We retain the values for
|
|
230 |
versions older than TB92sf until the mechanism is removed. -->
|
|
231 |
|
|
232 |
<!-- variant for OS version v9.4 -->
|
|
233 |
<var name="v94">
|
|
234 |
<set name='POSTLINKER_SUPPORTS_WDP' value=''/>
|
|
235 |
<set name='SUPPORTS_STDCPP_NEWLIB' value=''/>
|
|
236 |
<set name='RVCT_PRE_INCLUDE' value='$(EPOCINCLUDE)/rvct2_2/rvct2_2.h'/>
|
|
237 |
</var>
|
|
238 |
|
|
239 |
<!-- variants for OS version TB91* (the same as OS v9.4) -->
|
|
240 |
<var name="vtb91" extends="v94"/>
|
|
241 |
<var name="vtb91sf" extends="v94"/>
|
|
242 |
|
|
243 |
<!-- these OS variants are deliberately empty -->
|
|
244 |
<var name="v95"/>
|
|
245 |
<var name="v96"/>
|
|
246 |
<var name="vFuture"/>
|
|
247 |
<var name="vtb92"/>
|
|
248 |
<var name="vtb92sf"/>
|
|
249 |
<var name="vtb101"/>
|
|
250 |
<var name="vtb101sf"/>
|
|
251 |
|
|
252 |
<!-- WINSCW specific variant for pick up nested relative include headers correctly -->
|
|
253 |
<var name="mwccinc">
|
|
254 |
<set name='OPTION_CW' value='-cwd include'/>
|
|
255 |
</var>
|
22
|
256 |
|
|
257 |
<!-- Variant to allow GCCE-built binaries to be created in epoc32/release/gcce,
|
|
258 |
epoc32/release/gccev6 and epoc32/release/gccev7 -->
|
|
259 |
<var name="release_gcce">
|
|
260 |
<set name="VARIANTPLATFORM" value="gcce" />
|
|
261 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
|
|
262 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
|
|
263 |
</var>
|
|
264 |
<var name="release_gccev6" extends="release_gcce" >
|
|
265 |
<set name="VARIANTPLATFORM" value="gccev6" />
|
|
266 |
</var>
|
|
267 |
<var name="release_gccev7" extends="release_gcce" >
|
|
268 |
<set name="VARIANTPLATFORM" value="gccev7" />
|
|
269 |
</var>
|
3
|
270 |
</build>
|