sbsv2/raptor/lib/config/variants.xml
author Stefan Karlsson <stefan.karlsson@nokia.com>
Mon, 15 Mar 2010 11:38:03 +0000
branchwip
changeset 367 28419e56ee8a
parent 343 927c16c07c88
child 412 824dddcc66f7
child 445 28f0ff4c401c
permissions -rw-r--r--
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     1
<?xml version="1.0" encoding="ISO-8859-1"?>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     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">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     3
	<!-- Commonly used variants.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     4
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     5
	These can be referenced from the command-line or in configurations.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     6
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     7
	-->
317
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
     8
 	
328
8bc2b0b8d54c Fix platform macros issue when cross compile
yiluzhu
parents: 325
diff changeset
     9
	<!-- This variant enables building win32 tools in Linux. Tools2 on Linux only -->
317
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    10
	<var name="win32">
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    11
		<set name='TOOLS2WIN32' value='1'/>
319
17156855fe69 Release Note: build win32 tools on Linux
yiluzhu
parents: 317
diff changeset
    12
		<env name='SBS_MINGW_LINUX_PREFIX' default='i586-mingw32msvc'/>
17156855fe69 Release Note: build win32 tools on Linux
yiluzhu
parents: 317
diff changeset
    13
		<env name='GCC' default='$(SBS_MINGW_LINUX_PREFIX)-g++' type='tool'/>
17156855fe69 Release Note: build win32 tools on Linux
yiluzhu
parents: 317
diff changeset
    14
		<env name='ARCHIVER' default='$(SBS_MINGW_LINUX_PREFIX)-ar' type='tool'/>
17156855fe69 Release Note: build win32 tools on Linux
yiluzhu
parents: 317
diff changeset
    15
		<env name='RANLIB' default='$(SBS_MINGW_LINUX_PREFIX)-ranlib' type='tool'/>
317
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    16
		<set name='RELEASEPATH' value='$(EPOCROOT)/epoc32/release/tools2/$(VARIANTTYPE)'/>
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    17
		<set name='DOTEXE' value='.exe'/>
328
8bc2b0b8d54c Fix platform macros issue when cross compile
yiluzhu
parents: 325
diff changeset
    18
		<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/>
317
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    19
	</var>
adc615fe34e8 Build win32 tools on Linux
yiluzhu
parents: 58
diff changeset
    20
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    21
	<!-- This variant turns debug info on for arm only -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    22
	<var name="debug_info">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    23
		<set name='DEBUG_INFO' value='1'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    24
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    25
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    26
	<!-- Run this variant to turn on trace compiler -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    27
	<var name="tracecompiler">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    28
		<set name='USE_TRACE_COMPILER' value='1'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    29
		<env name='JAVA_HOME' default='' type='path'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    30
		<env name='SBS_JAVATC' default='$(JAVA_HOME)/bin/java.exe' type='tool' versionCommand='$(SBS_JAVATC) -version' versionResult='version \"1\.[5-9]' host='win*' />
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    31
		<env name='SBS_JAVATC' default='$(JAVA_HOME)/bin/java' type='tool' versionCommand='$(SBS_JAVATC) -version' versionResult='version \"1\.[5-9]' host='lin*' />
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    32
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    33
	
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    34
	<!-- Overrides the default debugging format for the ARM targets. -->
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    35
	<var name="dwarf3">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    36
		<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    37
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    38
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    39
	<var name="techview">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    40
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    41
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    42
	<var name="test">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    43
		<set name='TESTCODE' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    44
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    45
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    46
	<var name="savespace">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    47
		<set name='SAVESPACE' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    48
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    49
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    50
	<var name="generate_linkerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    51
		<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    52
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    53
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    54
	<var name="use_linkerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    55
		<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    56
		<set name='LINKERFEEDBACK_STAGE2' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    57
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    58
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    59
	<var name="profilerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    60
		<set name='USE_PROFILER_FEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    61
		<env name='ARM_PROFILER_FILE' default='' type='path'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    62
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    63
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    64
	<var name="ltcg">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    65
		<set name='LTCG' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    66
		<set name='LTCG_OPTION' value='--ltcg'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    67
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    68
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    69
	<var name="multifile">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    70
		<set name='MULTIFILE_ENABLED' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    71
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    72
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    73
	<!-- build from clean can skip some processing -->
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    74
	<var name="bfc">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    75
		<set name='DEPEND_SKIP' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    76
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    77
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    78
	<!-- SMP variant for Kernel Code -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    79
	<var name="smp">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    80
		<append name="CDEFS" value="__SMP__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    81
		<append name="PLATMACROS.WINDOWS" value="SMP"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    82
		<!-- PLATMACROS.LINUX is set from PLATMACROS.WINDOWS -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    83
		<append name="TRADITIONAL_PLATFORM" value='SMP' separator="" />
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    84
		<append name="VARIANTPLATFORM" value="smp" separator=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    85
		<set name="GENERATE_ABIV1_IMPLIBS" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    86
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    87
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    88
	<!-- emit formatted releasable information into the logs for post-build parsing -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    89
	<var name="whatlog">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    90
		<set name='WHATLOG' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    91
	</var>
263
27b807b5a1f5 Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents: 58
diff changeset
    92
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    93
	<var name="gcce4_3_2" extends="gcce_base">
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    94
		<env name="SBS_GCCE432BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    95
		<set name="GCCEBIN" value="$(SBS_GCCE432BIN)" />
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    96
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/>
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    97
		<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    98
		<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    99
	</var>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   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
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   102
		<env name="SBS_GCCE433BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   107
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   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
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   110
		<env name="SBS_GCCE441BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   111
		<set name="GCCEBIN" value="$(SBS_GCCE441BIN)" />
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   112
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   113
		<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_4"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   114
		<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_4__"/>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   115
	</var>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   116
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   117
	<var name="rvct2_2" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   118
		<env name="RVCT22BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   119
		<env name="RVCT22INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   120
		<env name="RVCT22LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   121
		<set name="RVCTBIN" value="$(RVCT22BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   122
		<set name="RVCTINC" value="$(RVCT22INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   123
		<set name="RVCTLIB" value="$(RVCT22LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   124
		<set name="ARMCC" value="&quot;$(RVCTBIN)/armcc$(DOTEXE)&quot;" type="tool" versionCommand="$(ARMCC) --vsn" versionResult="Compiler, RVCT2\.2\b"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   125
		<set name="OWN_LIBRARY_OPTION" value="-Ono_known_library"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   126
		<set name="RELOCATABLE_IMAGE_OPTION" value="--reloc"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   127
		<set name="SPLIT_OPTION" value="--split"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   128
		<set name="PLATMACROS.VAR" value="ARMCC_2 ARMCC_2_2"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   129
		<set name="ARMMACROS.VAR" value="__ARMCC_2__ __ARMCC_2_2__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   130
		<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   131
		<set name="STATIC_LIBS_LIST" value="h_t__uf.l(switch8.o)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   132
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct2_2.dso drtrvct2_2.dso"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   135
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt2_2.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   136
		<set name="NEED_ENTRYPOINT_LIBRARY" value="False"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   137
		<set name="CC.NO_UNALIGNED_ACCESS" value="--memaccess -UL41"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   138
		<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   139
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   140
		<set name="CC.ARMV5" value="--cpu 5T"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   141
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   142
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   143
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   144
	<var name="rvct3_1" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   145
		<env name="RVCT31BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   146
		<env name="RVCT31INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   147
		<env name="RVCT31LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   148
		<set name="RVCTBIN" value="$(RVCT31BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   149
		<set name="RVCTINC" value="$(RVCT31INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   150
		<set name="RVCTLIB" value="$(RVCT31LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   151
		<set name="ARMCC" value="&quot;$(RVCTBIN)/armcc$(DOTEXE)&quot;" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="310[6-9]\d\d\b"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   152
		<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   153
		<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   154
		<set name="SPLIT_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   155
		<set name="PLATMACROS.VAR" value="ARMCC_3 ARMCC_3_1"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   156
		<set name="ARMMACROS.VAR" value="__ARMCC_3__ __ARMCC_3_1__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   157
		<set name="SYMBIAN_LINK_FLAGS.VAR" value="--export_all"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   158
		<set name="STATIC_LIBS_LIST" value="h_5.l"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   159
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso dfprvct3_1.dso drtrvct3_1.dso"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   162
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   163
		<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   164
		<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   165
		<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   166
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   167
		<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   168
		<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   169
		<set name="CC.ARMV5" value="--cpu 5TE"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   170
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   171
		<set name="CC.ARMV7" value="--cpu 7-A"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   172
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   173
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   174
	<var name="rvct4_0" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   175
		<env name="RVCT40BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   176
		<env name="RVCT40INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   177
		<env name="RVCT40LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   178
		<set name="RVCTBIN" value="$(RVCT40BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   179
		<set name="RVCTINC" value="$(RVCT40INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   180
		<set name="RVCTLIB" value="$(RVCT40LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   181
		<set name="ARMCC" value="&quot;$(RVCTBIN)/armcc$(DOTEXE)&quot;" type="tool" versionCommand="$(ARMCC) --version_number" versionResult="400[4-9]\d\d\b"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   182
		<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   183
		<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   184
		<set name="SPLIT_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   185
		<set name="PLATMACROS.VAR" value="ARMCC_4 ARMCC_4_0"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   186
		<set name="ARMMACROS.VAR" value="__ARMCC_4__ __ARMCC_4_0__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   187
		<set name="SYMBIAN_LINK_FLAGS.VAR" value="--override_visibility"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   188
		<set name="STATIC_LIBS_LIST" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   189
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   192
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   193
		<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   194
		<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   195
		<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softvfp+vfpv2"/>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   196
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="vfpv2"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   197
		<set name="CC.SOFTVFP_MAYBE_VFPV3" value="softvfp+vfpv3"/>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   198
		<!-- Not supported yet : <set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv3"/> -->
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
   199
		<set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv2"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   200
		<set name="CC.ARMV5" value="--cpu 5TE"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   201
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   202
		<set name="CC.ARMV7" value="--cpu 7-A"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   203
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   204
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   205
	<var name="urel">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   206
		<set name="DEBUG_INFO" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   207
		<set name="SYMBIAN_CCFLAGS" value="$(REL_OPTIMISATION)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   208
		<set name="VARIANTTYPE" value="urel"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   209
		<append name="CDEFS" value="NDEBUG"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   210
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   211
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   212
	<var name="udeb">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   213
		<set name="DEBUG_INFO" value="1"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   214
		<set name="SYMBIAN_CCFLAGS" value="$(DEBUG_OPTIMISATION)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   215
		<set name="VARIANTTYPE" value="udeb"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   216
		<append name="CDEFS" value="_DEBUG"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   217
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   218
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   219
	<var name="remove_freeze">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   220
		<set name='EFREEZE_REMOVE_OPTION' value='-Remove'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   221
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   222
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   223
	<!-- OS variant mechanism is now deprecated. We retain the values for
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   224
	     versions older than TB92sf until the mechanism is removed. -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   225
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   226
	<!-- variant for OS version v9.4 -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   227
	<var name="v94">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   228
		<set name='POSTLINKER_SUPPORTS_WDP' value=''/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   229
		<set name='SUPPORTS_STDCPP_NEWLIB' value=''/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   230
		<set name='RVCT_PRE_INCLUDE' value='$(EPOCINCLUDE)/rvct2_2/rvct2_2.h'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   231
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   232
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   233
	<!-- variants for OS version TB91* (the same as OS v9.4) -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   234
	<var name="vtb91" extends="v94"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   235
	<var name="vtb91sf" extends="v94"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   236
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   237
	<!-- these OS variants are deliberately empty -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   238
	<var name="v95"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   239
	<var name="v96"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   240
	<var name="vFuture"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   241
	<var name="vtb92"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   242
	<var name="vtb92sf"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   243
	<var name="vtb101"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   244
	<var name="vtb101sf"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   245
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   246
	<!-- WINSCW specific variant for pick up nested relative include headers correctly -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   247
	<var name="mwccinc">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   248
		<set name='OPTION_CW' value='-cwd include'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   249
	</var>
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   250
	
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   251
	<!-- Variant to allow GCCE-built binaries to be created in epoc32/release/gcce, 
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   252
	     epoc32/release/gccev6 and epoc32/release/gccev7 -->
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   253
	<var name="release_gcce">
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   254
		<set name="VARIANTPLATFORM" value="gcce" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   255
		<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   256
		<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   257
	</var>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   258
	<var name="release_gccev6" extends="release_gcce" >
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   259
		<set name="VARIANTPLATFORM" value="gccev6" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   260
	</var>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   261
	<var name="release_gccev7" extends="release_gcce" >
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   262
		<set name="VARIANTPLATFORM" value="gccev7" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   263
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   264
</build>