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