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