author | Jon Chatten |
Tue, 30 Mar 2010 15:24:50 +0100 | |
branch | fix |
changeset 421 | 7db5250b5d4c |
parent 400 | 554cc189839f |
child 412 | 824dddcc66f7 |
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 |
--> |
|
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> |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
80 |
|
3 | 81 |
<var name="gcce4_3_2" extends="gcce_base"> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
82 |
<env name="SBS_GCCE432BIN" type="toolchainpath" /> |
22 | 83 |
<set name="GCCEBIN" value="$(SBS_GCCE432BIN)" /> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
84 |
<set name="GCCECC" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)" type="tool" versionCommand="$(GCCECC) -dumpversion" versionResult="4.3.2"/> |
3 | 85 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/> |
22 | 86 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/> |
87 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/> |
|
3 | 88 |
</var> |
9 | 89 |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
90 |
<var name="gcce4_3_3" extends="gcce_base"> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
91 |
<env name="SBS_GCCE433BIN" type="toolchainpath" /> |
22 | 92 |
<set name="GCCEBIN" value="$(SBS_GCCE433BIN)" /> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
93 |
<set name="GCCECC" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)" type="tool" versionCommand="$(GCCECC) -dumpversion" versionResult="4.3.3"/> |
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
94 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/> |
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
95 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/> |
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
96 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/> |
3 | 97 |
</var> |
5 | 98 |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
99 |
<var name="gcce4_4_1" extends="gcce_base"> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
100 |
<env name="SBS_GCCE441BIN" type="toolchainpath" /> |
22 | 101 |
<set name="GCCEBIN" value="$(SBS_GCCE441BIN)" /> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
102 |
<set name="GCCECC" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)" type="tool" versionCommand="$(GCCECC) -dumpversion" versionResult="4.4.1"/> |
5 | 103 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/> |
22 | 104 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_4"/> |
105 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_4__"/> |
|
5 | 106 |
</var> |
107 |
||
3 | 108 |
<var name="rvct2_2" extends="rvct"> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
109 |
<env name="RVCT22BIN" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
110 |
<env name="RVCT22INC" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
111 |
<env name="RVCT22LIB" type="toolchainpath"/> |
3 | 112 |
<set name="RVCTBIN" value="$(RVCT22BIN)"/> |
113 |
<set name="RVCTINC" value="$(RVCT22INC)"/> |
|
114 |
<set name="RVCTLIB" value="$(RVCT22LIB)"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
115 |
<set name="ARMCC" value="$(RVCTBIN)/armcc$(DOTEXE)" type="tool" versionCommand="$(ARMCC) --vsn" versionResult="Compiler, RVCT2\.2\b"/> |
3 | 116 |
<set name="OWN_LIBRARY_OPTION" value="-Ono_known_library"/> |
117 |
<set name="RELOCATABLE_IMAGE_OPTION" value="--reloc"/> |
|
118 |
<set name="SPLIT_OPTION" value="--split"/> |
|
119 |
<set name="PLATMACROS.VAR" value="ARMCC_2 ARMCC_2_2"/> |
|
120 |
<set name="ARMMACROS.VAR" value="__ARMCC_2__ __ARMCC_2_2__"/> |
|
121 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/> |
|
122 |
<set name="STATIC_LIBS_LIST" value="h_t__uf.l(switch8.o)"/> |
|
123 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct2_2.dso drtrvct2_2.dso"/> |
|
124 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt2_2.lib"/> |
|
125 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt2_2.lib"/> |
|
126 |
<set name="USRTLIB" value="usrt2_2.lib"/> |
|
127 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="False"/> |
|
128 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--memaccess -UL41"/> |
|
129 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
|
9 | 130 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
3 | 131 |
<set name="CC.ARMV5" value="--cpu 5T"/> |
132 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
133 |
</var> |
|
134 |
||
135 |
<var name="rvct3_1" extends="rvct"> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
136 |
<env name="RVCT31BIN" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
137 |
<env name="RVCT31INC" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
138 |
<env name="RVCT31LIB" type="toolchainpath"/> |
3 | 139 |
<set name="RVCTBIN" value="$(RVCT31BIN)"/> |
140 |
<set name="RVCTINC" value="$(RVCT31INC)"/> |
|
141 |
<set name="RVCTLIB" value="$(RVCT31LIB)"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
142 |
<set name="ARMCC" value="$(RVCTBIN)/armcc$(DOTEXE)" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="310[6-9]\d\d\b"/> |
3 | 143 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/> |
144 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/> |
|
145 |
<set name="SPLIT_OPTION" value=""/> |
|
146 |
<set name="PLATMACROS.VAR" value="ARMCC_3 ARMCC_3_1"/> |
|
147 |
<set name="ARMMACROS.VAR" value="__ARMCC_3__ __ARMCC_3_1__"/> |
|
148 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--export_all"/> |
|
149 |
<set name="STATIC_LIBS_LIST" value="h_5.l"/> |
|
150 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/> |
|
151 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/> |
|
152 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/> |
|
153 |
<set name="USRTLIB" value="usrt3_1.lib"/> |
|
154 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/> |
|
155 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/> |
|
156 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
|
9 | 157 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
3 | 158 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp"/> |
9 | 159 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/> |
3 | 160 |
<set name="CC.ARMV5" value="--cpu 5TE"/> |
161 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
162 |
<set name="CC.ARMV7" value="--cpu 7-A"/> |
|
163 |
</var> |
|
164 |
||
165 |
<var name="rvct4_0" extends="rvct"> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
166 |
<env name="RVCT40BIN" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
167 |
<env name="RVCT40INC" type="toolchainpath"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
168 |
<env name="RVCT40LIB" type="toolchainpath"/> |
3 | 169 |
<set name="RVCTBIN" value="$(RVCT40BIN)"/> |
170 |
<set name="RVCTINC" value="$(RVCT40INC)"/> |
|
171 |
<set name="RVCTLIB" value="$(RVCT40LIB)"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
263
diff
changeset
|
172 |
<set name="ARMCC" value="$(RVCTBIN)/armcc$(DOTEXE)" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="400[4-9]\d\d\b"/> |
3 | 173 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/> |
174 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/> |
|
175 |
<set name="SPLIT_OPTION" value=""/> |
|
176 |
<set name="PLATMACROS.VAR" value="ARMCC_4 ARMCC_4_0"/> |
|
177 |
<set name="ARMMACROS.VAR" value="__ARMCC_4__ __ARMCC_4_0__"/> |
|
178 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--override_visibility"/> |
|
179 |
<set name="STATIC_LIBS_LIST" value=""/> |
|
180 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/> |
|
181 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/> |
|
182 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/> |
|
183 |
<set name="USRTLIB" value="usrt4_0.lib"/> |
|
184 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/> |
|
185 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/> |
|
186 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp+vfpv2"/> |
|
9 | 187 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="vfpv2"/> |
3 | 188 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp+vfpv3"/> |
9 | 189 |
<!-- Not supported yet : <set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv3"/> --> |
190 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv2"/> |
|
3 | 191 |
<set name="CC.ARMV5" value="--cpu 5TE"/> |
192 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
193 |
<set name="CC.ARMV7" value="--cpu 7-A"/> |
|
194 |
</var> |
|
195 |
||
196 |
<var name="urel"> |
|
197 |
<set name="DEBUG_INFO" value=""/> |
|
198 |
<set name="SYMBIAN_CCFLAGS" value="$(REL_OPTIMISATION)"/> |
|
199 |
<set name="VARIANTTYPE" value="urel"/> |
|
200 |
<append name="CDEFS" value="NDEBUG"/> |
|
201 |
</var> |
|
202 |
||
203 |
<var name="udeb"> |
|
204 |
<set name="DEBUG_INFO" value="1"/> |
|
205 |
<set name="SYMBIAN_CCFLAGS" value="$(DEBUG_OPTIMISATION)"/> |
|
206 |
<set name="VARIANTTYPE" value="udeb"/> |
|
207 |
<append name="CDEFS" value="_DEBUG"/> |
|
208 |
</var> |
|
209 |
||
210 |
<var name="remove_freeze"> |
|
211 |
<set name='EFREEZE_REMOVE_OPTION' value='-Remove'/> |
|
212 |
</var> |
|
213 |
||
214 |
<!-- OS variant mechanism is now deprecated. We retain the values for |
|
215 |
versions older than TB92sf until the mechanism is removed. --> |
|
216 |
||
217 |
<!-- variant for OS version v9.4 --> |
|
218 |
<var name="v94"> |
|
219 |
<set name='POSTLINKER_SUPPORTS_WDP' value=''/> |
|
220 |
<set name='SUPPORTS_STDCPP_NEWLIB' value=''/> |
|
221 |
<set name='RVCT_PRE_INCLUDE' value='$(EPOCINCLUDE)/rvct2_2/rvct2_2.h'/> |
|
222 |
</var> |
|
223 |
||
224 |
<!-- variants for OS version TB91* (the same as OS v9.4) --> |
|
225 |
<var name="vtb91" extends="v94"/> |
|
226 |
<var name="vtb91sf" extends="v94"/> |
|
227 |
||
228 |
<!-- these OS variants are deliberately empty --> |
|
229 |
<var name="v95"/> |
|
230 |
<var name="v96"/> |
|
231 |
<var name="vFuture"/> |
|
232 |
<var name="vtb92"/> |
|
233 |
<var name="vtb92sf"/> |
|
234 |
<var name="vtb101"/> |
|
235 |
<var name="vtb101sf"/> |
|
236 |
||
237 |
<!-- WINSCW specific variant for pick up nested relative include headers correctly --> |
|
238 |
<var name="mwccinc"> |
|
239 |
<set name='OPTION_CW' value='-cwd include'/> |
|
240 |
</var> |
|
22 | 241 |
|
242 |
<!-- Variant to allow GCCE-built binaries to be created in epoc32/release/gcce, |
|
243 |
epoc32/release/gccev6 and epoc32/release/gccev7 --> |
|
244 |
<var name="release_gcce"> |
|
245 |
<set name="VARIANTPLATFORM" value="gcce" /> |
|
246 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
247 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
248 |
</var> |
|
249 |
<var name="release_gccev6" extends="release_gcce" > |
|
250 |
<set name="VARIANTPLATFORM" value="gccev6" /> |
|
251 |
</var> |
|
252 |
<var name="release_gccev7" extends="release_gcce" > |
|
253 |
<set name="VARIANTPLATFORM" value="gccev7" /> |
|
254 |
</var> |
|
3 | 255 |
</build> |