sbsv2/raptor/lib/config/variants.xml
author Richard Taylor <richard.i.taylor@nokia.com>
Wed, 17 Mar 2010 15:23:12 +0000
changeset 365 bab2d423b063
parent 263 27b807b5a1f5
child 342 f0e42ff3359f
child 400 554cc189839f
permissions -rw-r--r--
merge from fix
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
	-->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     8
  
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     9
	<!-- This variant turns debug info on for arm only -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    10
	<var name="debug_info">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    11
		<set name='DEBUG_INFO' value='1'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    12
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    13
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    14
	<!-- Run this variant to turn on trace compiler -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    15
	<var name="tracecompiler">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    16
		<set name='USE_TRACE_COMPILER' value='1'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    17
		<env name='JAVA_HOME' default='' type='path'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    18
		<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
    19
		<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
    20
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    21
	
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    22
	<!-- Overrides the default debugging format for the ARM targets. -->
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    23
	<var name="dwarf3">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    24
		<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    25
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    26
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    27
	<var name="techview">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    28
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    29
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    30
	<var name="test">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    31
		<set name='TESTCODE' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    32
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    33
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    34
	<var name="savespace">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    35
		<set name='SAVESPACE' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    36
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    37
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    38
	<var name="generate_linkerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    39
		<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    40
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    41
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    42
	<var name="use_linkerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    43
		<set name='GENERATELINKERFEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    44
		<set name='LINKERFEEDBACK_STAGE2' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    45
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    46
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    47
	<var name="profilerfeedback">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    48
		<set name='USE_PROFILER_FEEDBACK' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    49
		<env name='ARM_PROFILER_FILE' default='' type='path'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    50
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    51
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    52
	<var name="ltcg">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    53
		<set name='LTCG' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    54
		<set name='LTCG_OPTION' value='--ltcg'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    55
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    56
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    57
	<var name="multifile">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    58
		<set name='MULTIFILE_ENABLED' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    59
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    60
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    61
	<!-- build from clean can skip some processing -->
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    62
	<var name="bfc">
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    63
		<set name='DEPEND_SKIP' value='TRUE'/>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    64
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    65
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    66
	<!-- SMP variant for Kernel Code -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    67
	<var name="smp">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    68
		<append name="CDEFS" value="__SMP__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    69
		<append name="PLATMACROS.WINDOWS" value="SMP"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    70
		<!-- PLATMACROS.LINUX is set from PLATMACROS.WINDOWS -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    71
		<append name="TRADITIONAL_PLATFORM" value='SMP' separator="" />
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    72
		<append name="VARIANTPLATFORM" value="smp" separator=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    73
		<set name="GENERATE_ABIV1_IMPLIBS" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    74
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    75
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    76
	<!-- emit formatted releasable information into the logs for post-build parsing -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    77
	<var name="whatlog">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    78
		<set name='WHATLOG' value='TRUE'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    79
	</var>
263
27b807b5a1f5 Move all common parts of the gcce variants into gcce_base.
Jon Chatten
parents: 58
diff changeset
    80
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    81
	<var name="gcce4_3_2" extends="gcce_base">
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    82
		<env name="SBS_GCCE432BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    83
		<set name="GCCEBIN" value="$(SBS_GCCE432BIN)" />
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    84
		<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
    85
		<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_3"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    86
		<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_3__"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    87
	</var>
9
b211d87c390a Update to 2.11.0 from perforce
timothy.murphy@nokia.com
parents: 5
diff changeset
    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
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    90
		<env name="SBS_GCCE433BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    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
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    95
	</var>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    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
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    98
		<env name="SBS_GCCE441BIN" type="path" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
    99
		<set name="GCCEBIN" value="$(SBS_GCCE441BIN)" />
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   100
		<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
   101
		<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_4"/>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   102
		<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_4__"/>
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   103
	</var>
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
   104
	
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   105
	<var name="rvct2_2" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   106
		<env name="RVCT22BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   107
		<env name="RVCT22INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   108
		<env name="RVCT22LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   109
		<set name="RVCTBIN" value="$(RVCT22BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   110
		<set name="RVCTINC" value="$(RVCT22INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   111
		<set name="RVCTLIB" value="$(RVCT22LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   112
		<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
   113
		<set name="OWN_LIBRARY_OPTION" value="-Ono_known_library"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   114
		<set name="RELOCATABLE_IMAGE_OPTION" value="--reloc"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   115
		<set name="SPLIT_OPTION" value="--split"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   116
		<set name="PLATMACROS.VAR" value="ARMCC_2 ARMCC_2_2"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   117
		<set name="ARMMACROS.VAR" value="__ARMCC_2__ __ARMCC_2_2__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   118
		<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   119
		<set name="STATIC_LIBS_LIST" value="h_t__uf.l(switch8.o)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   120
		<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
   121
		<set name="USER_STATIC_RUNTIME_LIB" value="usrt2_2.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   122
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt2_2.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   123
		<set name="USRTLIB" value="usrt2_2.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   124
		<set name="NEED_ENTRYPOINT_LIBRARY" value="False"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   125
		<set name="CC.NO_UNALIGNED_ACCESS" value="--memaccess -UL41"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   126
		<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
   127
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   128
		<set name="CC.ARMV5" value="--cpu 5T"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   129
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   130
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   131
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   132
	<var name="rvct3_1" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   133
		<env name="RVCT31BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   134
		<env name="RVCT31INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   135
		<env name="RVCT31LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   136
		<set name="RVCTBIN" value="$(RVCT31BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   137
		<set name="RVCTINC" value="$(RVCT31INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   138
		<set name="RVCTLIB" value="$(RVCT31LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   139
		<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
   140
		<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   141
		<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   142
		<set name="SPLIT_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   143
		<set name="PLATMACROS.VAR" value="ARMCC_3 ARMCC_3_1"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   144
		<set name="ARMMACROS.VAR" value="__ARMCC_3__ __ARMCC_3_1__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   145
		<set name="SYMBIAN_LINK_FLAGS.VAR" value="--export_all"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   146
		<set name="STATIC_LIBS_LIST" value="h_5.l"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   147
		<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
   148
		<set name="USER_STATIC_RUNTIME_LIB" value="usrt3_1.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   149
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt3_1.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   150
		<set name="USRTLIB" value="usrt3_1.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   151
		<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   152
		<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   153
		<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
   154
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   155
		<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
   156
		<set name="PL.SOFTVFP_MAYBE_VFPV3" value="softvfp"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   157
		<set name="CC.ARMV5" value="--cpu 5TE"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   158
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   159
		<set name="CC.ARMV7" value="--cpu 7-A"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   160
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   161
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   162
	<var name="rvct4_0" extends="rvct">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   163
		<env name="RVCT40BIN" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   164
		<env name="RVCT40INC" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   165
		<env name="RVCT40LIB" type="path"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   166
		<set name="RVCTBIN" value="$(RVCT40BIN)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   167
		<set name="RVCTINC" value="$(RVCT40INC)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   168
		<set name="RVCTLIB" value="$(RVCT40LIB)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   169
		<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
   170
		<set name="OWN_LIBRARY_OPTION" value="--library_interface=aeabi_clib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   171
		<set name="RELOCATABLE_IMAGE_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   172
		<set name="SPLIT_OPTION" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   173
		<set name="PLATMACROS.VAR" value="ARMCC_4 ARMCC_4_0"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   174
		<set name="ARMMACROS.VAR" value="__ARMCC_4__ __ARMCC_4_0__"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   175
		<set name="SYMBIAN_LINK_FLAGS.VAR" value="--override_visibility"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   176
		<set name="STATIC_LIBS_LIST" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   177
		<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   178
		<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   179
		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   180
		<set name="USRTLIB" value="usrt4_0.lib"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   181
		<set name="NEED_ENTRYPOINT_LIBRARY" value="True"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   182
		<set name="CC.NO_UNALIGNED_ACCESS" value="--no_unaligned_access"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   183
		<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
   184
		<set name="PL.SOFTVFP_MAYBE_VFPV2" value="vfpv2"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   185
		<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
   186
		<!-- 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
   187
		<set name="PL.SOFTVFP_MAYBE_VFPV3" value="vfpv2"/>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   188
		<set name="CC.ARMV5" value="--cpu 5TE"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   189
		<set name="CC.ARMV6" value="--cpu 6"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   190
		<set name="CC.ARMV7" value="--cpu 7-A"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   191
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   192
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   193
	<var name="urel">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   194
		<set name="DEBUG_INFO" value=""/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   195
		<set name="SYMBIAN_CCFLAGS" value="$(REL_OPTIMISATION)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   196
		<set name="VARIANTTYPE" value="urel"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   197
		<append name="CDEFS" value="NDEBUG"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   198
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   199
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   200
	<var name="udeb">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   201
		<set name="DEBUG_INFO" value="1"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   202
		<set name="SYMBIAN_CCFLAGS" value="$(DEBUG_OPTIMISATION)"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   203
		<set name="VARIANTTYPE" value="udeb"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   204
		<append name="CDEFS" value="_DEBUG"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   205
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   206
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   207
	<var name="remove_freeze">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   208
		<set name='EFREEZE_REMOVE_OPTION' value='-Remove'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   209
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   210
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   211
	<!-- OS variant mechanism is now deprecated. We retain the values for
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   212
	     versions older than TB92sf until the mechanism is removed. -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   213
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   214
	<!-- variant for OS version v9.4 -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   215
	<var name="v94">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   216
		<set name='POSTLINKER_SUPPORTS_WDP' value=''/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   217
		<set name='SUPPORTS_STDCPP_NEWLIB' value=''/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   218
		<set name='RVCT_PRE_INCLUDE' value='$(EPOCINCLUDE)/rvct2_2/rvct2_2.h'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   219
	</var>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   220
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   221
	<!-- variants for OS version TB91* (the same as OS v9.4) -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   222
	<var name="vtb91" extends="v94"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   223
	<var name="vtb91sf" extends="v94"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   224
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   225
	<!-- these OS variants are deliberately empty -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   226
	<var name="v95"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   227
	<var name="v96"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   228
	<var name="vFuture"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   229
	<var name="vtb92"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   230
	<var name="vtb92sf"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   231
	<var name="vtb101"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   232
	<var name="vtb101sf"/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   233
	
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   234
	<!-- WINSCW specific variant for pick up nested relative include headers correctly -->
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   235
	<var name="mwccinc">
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   236
		<set name='OPTION_CW' value='-cwd include'/>
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   237
	</var>
22
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   238
	
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   239
	<!-- 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
   240
	     epoc32/release/gccev6 and epoc32/release/gccev7 -->
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   241
	<var name="release_gcce">
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   242
		<set name="VARIANTPLATFORM" value="gcce" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   243
		<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
   244
		<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
   245
	</var>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   246
	<var name="release_gccev6" extends="release_gcce" >
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   247
		<set name="VARIANTPLATFORM" value="gccev6" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   248
	</var>
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   249
	<var name="release_gccev7" extends="release_gcce" >
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   250
		<set name="VARIANTPLATFORM" value="gccev7" />
072f869b0bc5 Catch up to wip branch
timothy.murphy@nokia.com
parents: 9
diff changeset
   251
	</var>
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
   252
</build>