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