author | Stefan Karlsson <stefan.karlsson@nokia.com> |
Mon, 15 Mar 2010 11:38:03 +0000 | |
branch | wip |
changeset 367 | 28419e56ee8a |
parent 343 | 927c16c07c88 |
child 412 | 824dddcc66f7 |
child 445 | 28f0ff4c401c |
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> |
|
41 |
||
42 |
<var name="test"> |
|
43 |
<set name='TESTCODE' value='TRUE'/> |
|
44 |
</var> |
|
45 |
||
46 |
<var name="savespace"> |
|
47 |
<set name='SAVESPACE' value='TRUE'/> |
|
48 |
</var> |
|
49 |
||
5 | 50 |
<var name="generate_linkerfeedback"> |
51 |
<set name='GENERATELINKERFEEDBACK' value='TRUE'/> |
|
52 |
</var> |
|
3 | 53 |
|
5 | 54 |
<var name="use_linkerfeedback"> |
55 |
<set name='GENERATELINKERFEEDBACK' value='TRUE'/> |
|
56 |
<set name='LINKERFEEDBACK_STAGE2' value='TRUE'/> |
|
57 |
</var> |
|
3 | 58 |
|
5 | 59 |
<var name="profilerfeedback"> |
60 |
<set name='USE_PROFILER_FEEDBACK' value='TRUE'/> |
|
61 |
<env name='ARM_PROFILER_FILE' default='' type='path'/> |
|
62 |
</var> |
|
3 | 63 |
|
5 | 64 |
<var name="ltcg"> |
65 |
<set name='LTCG' value='TRUE'/> |
|
66 |
<set name='LTCG_OPTION' value='--ltcg'/> |
|
67 |
</var> |
|
3 | 68 |
|
5 | 69 |
<var name="multifile"> |
70 |
<set name='MULTIFILE_ENABLED' value='TRUE'/> |
|
71 |
</var> |
|
3 | 72 |
|
5 | 73 |
<!-- build from clean can skip some processing --> |
74 |
<var name="bfc"> |
|
75 |
<set name='DEPEND_SKIP' value='TRUE'/> |
|
76 |
</var> |
|
3 | 77 |
|
78 |
<!-- SMP variant for Kernel Code --> |
|
79 |
<var name="smp"> |
|
80 |
<append name="CDEFS" value="__SMP__"/> |
|
81 |
<append name="PLATMACROS.WINDOWS" value="SMP"/> |
|
82 |
<!-- PLATMACROS.LINUX is set from PLATMACROS.WINDOWS --> |
|
83 |
<append name="TRADITIONAL_PLATFORM" value='SMP' separator="" /> |
|
84 |
<append name="VARIANTPLATFORM" value="smp" separator=""/> |
|
85 |
<set name="GENERATE_ABIV1_IMPLIBS" value=""/> |
|
86 |
</var> |
|
87 |
||
88 |
<!-- emit formatted releasable information into the logs for post-build parsing --> |
|
89 |
<var name="whatlog"> |
|
90 |
<set name='WHATLOG' value='TRUE'/> |
|
91 |
</var> |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
92 |
|
3 | 93 |
<var name="gcce4_3_2" extends="gcce_base"> |
22 | 94 |
<env name="SBS_GCCE432BIN" type="path" /> |
95 |
<set name="GCCEBIN" value="$(SBS_GCCE432BIN)" /> |
|
3 | 96 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/> |
22 | 97 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/> |
98 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/> |
|
3 | 99 |
</var> |
9 | 100 |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
101 |
<var name="gcce4_3_3" extends="gcce_base"> |
22 | 102 |
<env name="SBS_GCCE433BIN" type="path" /> |
103 |
<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
|
104 |
<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
|
105 |
<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
|
106 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/> |
3 | 107 |
</var> |
5 | 108 |
|
263
27b807b5a1f5
Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents:
58
diff
changeset
|
109 |
<var name="gcce4_4_1" extends="gcce_base"> |
22 | 110 |
<env name="SBS_GCCE441BIN" type="path" /> |
111 |
<set name="GCCEBIN" value="$(SBS_GCCE441BIN)" /> |
|
5 | 112 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/> |
22 | 113 |
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_4"/> |
114 |
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_4__"/> |
|
5 | 115 |
</var> |
116 |
||
3 | 117 |
<var name="rvct2_2" extends="rvct"> |
118 |
<env name="RVCT22BIN" type="path"/> |
|
119 |
<env name="RVCT22INC" type="path"/> |
|
120 |
<env name="RVCT22LIB" type="path"/> |
|
121 |
<set name="RVCTBIN" value="$(RVCT22BIN)"/> |
|
122 |
<set name="RVCTINC" value="$(RVCT22INC)"/> |
|
123 |
<set name="RVCTLIB" value="$(RVCT22LIB)"/> |
|
124 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --vsn" versionResult="Compiler, RVCT2\.2\b"/> |
|
125 |
<set name="OWN_LIBRARY_OPTION" value="-Ono_known_library"/> |
|
126 |
<set name="RELOCATABLE_IMAGE_OPTION" value="--reloc"/> |
|
127 |
<set name="SPLIT_OPTION" value="--split"/> |
|
128 |
<set name="PLATMACROS.VAR" value="ARMCC_2 ARMCC_2_2"/> |
|
129 |
<set name="ARMMACROS.VAR" value="__ARMCC_2__ __ARMCC_2_2__"/> |
|
130 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/> |
|
131 |
<set name="STATIC_LIBS_LIST" value="h_t__uf.l(switch8.o)"/> |
|
132 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct2_2.dso drtrvct2_2.dso"/> |
|
133 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt2_2.lib"/> |
|
367
28419e56ee8a
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
343
diff
changeset
|
134 |
<set name="USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS" value="usrt_nx_2_2.lib"/> |
3 | 135 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt2_2.lib"/> |
136 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="False"/> |
|
137 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--memaccess -UL41"/> |
|
138 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
|
9 | 139 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
3 | 140 |
<set name="CC.ARMV5" value="--cpu 5T"/> |
141 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
142 |
</var> |
|
143 |
||
144 |
<var name="rvct3_1" extends="rvct"> |
|
145 |
<env name="RVCT31BIN" type="path"/> |
|
146 |
<env name="RVCT31INC" type="path"/> |
|
147 |
<env name="RVCT31LIB" type="path"/> |
|
148 |
<set name="RVCTBIN" value="$(RVCT31BIN)"/> |
|
149 |
<set name="RVCTINC" value="$(RVCT31INC)"/> |
|
150 |
<set name="RVCTLIB" value="$(RVCT31LIB)"/> |
|
151 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="310[6-9]\d\d\b"/> |
|
152 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/> |
|
153 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/> |
|
154 |
<set name="SPLIT_OPTION" value=""/> |
|
155 |
<set name="PLATMACROS.VAR" value="ARMCC_3 ARMCC_3_1"/> |
|
156 |
<set name="ARMMACROS.VAR" value="__ARMCC_3__ __ARMCC_3_1__"/> |
|
157 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--export_all"/> |
|
158 |
<set name="STATIC_LIBS_LIST" value="h_5.l"/> |
|
159 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/> |
|
160 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/> |
|
367
28419e56ee8a
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
343
diff
changeset
|
161 |
<set name="USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS" value="usrt_nx_3_1.lib"/> |
3 | 162 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/> |
163 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/> |
|
164 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/> |
|
165 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
|
9 | 166 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/> |
3 | 167 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp"/> |
9 | 168 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/> |
3 | 169 |
<set name="CC.ARMV5" value="--cpu 5TE"/> |
170 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
171 |
<set name="CC.ARMV7" value="--cpu 7-A"/> |
|
172 |
</var> |
|
173 |
||
174 |
<var name="rvct4_0" extends="rvct"> |
|
175 |
<env name="RVCT40BIN" type="path"/> |
|
176 |
<env name="RVCT40INC" type="path"/> |
|
177 |
<env name="RVCT40LIB" type="path"/> |
|
178 |
<set name="RVCTBIN" value="$(RVCT40BIN)"/> |
|
179 |
<set name="RVCTINC" value="$(RVCT40INC)"/> |
|
180 |
<set name="RVCTLIB" value="$(RVCT40LIB)"/> |
|
181 |
<set name="ARMCC" value=""$(RVCTBIN)/armcc$(DOTEXE)"" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="400[4-9]\d\d\b"/> |
|
182 |
<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/> |
|
183 |
<set name="RELOCATABLE_IMAGE_OPTION" value=""/> |
|
184 |
<set name="SPLIT_OPTION" value=""/> |
|
185 |
<set name="PLATMACROS.VAR" value="ARMCC_4 ARMCC_4_0"/> |
|
186 |
<set name="ARMMACROS.VAR" value="__ARMCC_4__ __ARMCC_4_0__"/> |
|
187 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value="--override_visibility"/> |
|
188 |
<set name="STATIC_LIBS_LIST" value=""/> |
|
189 |
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/> |
|
190 |
<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/> |
|
367
28419e56ee8a
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
343
diff
changeset
|
191 |
<set name="USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS" value="usrt_nx_4_0.lib"/> |
3 | 192 |
<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/> |
193 |
<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/> |
|
194 |
<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/> |
|
195 |
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp+vfpv2"/> |
|
9 | 196 |
<set name="PL.SOFTVFP_MAYBE_VFPV2" value="vfpv2"/> |
3 | 197 |
<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp+vfpv3"/> |
9 | 198 |
<!-- Not supported yet : <set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv3"/> --> |
199 |
<set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv2"/> |
|
3 | 200 |
<set name="CC.ARMV5" value="--cpu 5TE"/> |
201 |
<set name="CC.ARMV6" value="--cpu 6"/> |
|
202 |
<set name="CC.ARMV7" value="--cpu 7-A"/> |
|
203 |
</var> |
|
204 |
||
205 |
<var name="urel"> |
|
206 |
<set name="DEBUG_INFO" value=""/> |
|
207 |
<set name="SYMBIAN_CCFLAGS" value="$(REL_OPTIMISATION)"/> |
|
208 |
<set name="VARIANTTYPE" value="urel"/> |
|
209 |
<append name="CDEFS" value="NDEBUG"/> |
|
210 |
</var> |
|
211 |
||
212 |
<var name="udeb"> |
|
213 |
<set name="DEBUG_INFO" value="1"/> |
|
214 |
<set name="SYMBIAN_CCFLAGS" value="$(DEBUG_OPTIMISATION)"/> |
|
215 |
<set name="VARIANTTYPE" value="udeb"/> |
|
216 |
<append name="CDEFS" value="_DEBUG"/> |
|
217 |
</var> |
|
218 |
||
219 |
<var name="remove_freeze"> |
|
220 |
<set name='EFREEZE_REMOVE_OPTION' value='-Remove'/> |
|
221 |
</var> |
|
222 |
||
223 |
<!-- OS variant mechanism is now deprecated. We retain the values for |
|
224 |
versions older than TB92sf until the mechanism is removed. --> |
|
225 |
||
226 |
<!-- variant for OS version v9.4 --> |
|
227 |
<var name="v94"> |
|
228 |
<set name='POSTLINKER_SUPPORTS_WDP' value=''/> |
|
229 |
<set name='SUPPORTS_STDCPP_NEWLIB' value=''/> |
|
230 |
<set name='RVCT_PRE_INCLUDE' value='$(EPOCINCLUDE)/rvct2_2/rvct2_2.h'/> |
|
231 |
</var> |
|
232 |
||
233 |
<!-- variants for OS version TB91* (the same as OS v9.4) --> |
|
234 |
<var name="vtb91" extends="v94"/> |
|
235 |
<var name="vtb91sf" extends="v94"/> |
|
236 |
||
237 |
<!-- these OS variants are deliberately empty --> |
|
238 |
<var name="v95"/> |
|
239 |
<var name="v96"/> |
|
240 |
<var name="vFuture"/> |
|
241 |
<var name="vtb92"/> |
|
242 |
<var name="vtb92sf"/> |
|
243 |
<var name="vtb101"/> |
|
244 |
<var name="vtb101sf"/> |
|
245 |
||
246 |
<!-- WINSCW specific variant for pick up nested relative include headers correctly --> |
|
247 |
<var name="mwccinc"> |
|
248 |
<set name='OPTION_CW' value='-cwd include'/> |
|
249 |
</var> |
|
22 | 250 |
|
251 |
<!-- Variant to allow GCCE-built binaries to be created in epoc32/release/gcce, |
|
252 |
epoc32/release/gccev6 and epoc32/release/gccev7 --> |
|
253 |
<var name="release_gcce"> |
|
254 |
<set name="VARIANTPLATFORM" value="gcce" /> |
|
255 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
256 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
257 |
</var> |
|
258 |
<var name="release_gccev6" extends="release_gcce" > |
|
259 |
<set name="VARIANTPLATFORM" value="gccev6" /> |
|
260 |
</var> |
|
261 |
<var name="release_gccev7" extends="release_gcce" > |
|
262 |
<set name="VARIANTPLATFORM" value="gccev7" /> |
|
263 |
</var> |
|
3 | 264 |
</build> |