author | timothy.murphy@nokia.com |
Tue, 20 Apr 2010 12:08:50 +0100 | |
branch | fix |
changeset 489 | 4d8a8d0b17c0 |
parent 400 | 554cc189839f |
child 505 | ed08f3d1e6b9 |
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"> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
3 |
<!-- build variants for ARM toolchain builds --> |
3 | 4 |
<var name="arm" extends="root"> |
5 |
<varRef ref="default.interfaces"/> |
|
6 |
<varRef ref="default.locations"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
7 |
|
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
8 |
<!-- tools and scripts --> |
3 | 9 |
<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/> |
10 |
<env name="CHECKLIB" default="$(EPOCROOT)/epoc32/tools/checklib$(DOTEXE)" type="tool"/> |
|
11 |
<env name="CPPFILT" default="$(GCCPREFIX)c++filt$(DOTEXE)" type="tool"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
12 |
<env name="EFREEZE" default="$(PERL) $(EPOCROOT)/epoc32/tools/efreeze.pl" type="script"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
13 |
<env name="ELF2E32" default="$(EPOCROOT)/epoc32/tools/elf2e32$(DOTEXE)" type="tool"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
14 |
<env name="PREPDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl" type="script"/> |
3 | 15 |
<env name="RCOMP" default="$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)" type="tool"/> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
16 |
<!-- RANSLEEP is a program that can be used to cause a random delay in milliseconds. This is only useful in parallel builds. See the PERTURBSTARTTIME switch for more details. --> |
3 | 17 |
<env name="RANSLEEP" default="$(SBS_HOME)/bin/$(HOSTPLATFORM_DIR)/ransleep$(DOTEXE)" type="tool"/> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
18 |
<env name="SBSV1MAKE" default="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)" type="tool"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
19 |
<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="script"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
20 |
<env name="TRANASM" default="$(PERL) $(EPOCROOT)/epoc32/tools/tranasm.pl" type="script"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
21 |
|
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
22 |
<!-- interfaces --> |
3 | 23 |
<set name="INTERFACE.extension" value="Symbian.extension"/> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
24 |
|
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
25 |
<!-- macros --> |
3 | 26 |
<set name="ARMMACROS.CONFIG" value=""/> |
27 |
<set name="ARMMACROS.VAR" value=""/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
28 |
<set name="ARMMACROS" value="__MARM_ARMV5__ $(ARMMACROS.CONFIG) $(ARMMACROS.VAR)"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
29 |
<set name="PLATMACROS.WINDOWS" value="$(PLATMACROS.TOOLCHAIN) EPOC32 MARM EABI GENERIC_MARM MARM_ARMV5 $(PLATMACROS.CONFIG) $(PLATMACROS.VAR)"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
30 |
<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
31 |
<set name="PLATMACROS.CONFIG" value=""/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
32 |
<set name="PLATMACROS.VAR" value=""/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
33 |
<set name="PLATMACROS.TOOLCHAIN" value=""/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
34 |
|
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
35 |
<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/> |
3 | 36 |
<set name="CAPABILITY" value=""/> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
37 |
<set name="CDEFS" value="__SUPPORT_CPP_EXCEPTIONS__ _UNICODE __SYMBIAN32__ __EPOC32__ __MARM__ __EABI__ __PRODUCT_INCLUDE__="$(PRODUCT_INCLUDE)" $(MMPDEFS) $(ARMMACROS)"/> |
3 | 38 |
<set name="CODE_SEGMENT_START" value=""/> |
39 |
<set name="DEFAULT_STDCPP_NEWLIB" value="stdnew.dso"/> |
|
40 |
<set name="DEFAULT_SYMBIAN_NEWLIB" value="scppnwdl.dso"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
41 |
<set name="DUMPBCINFO" value=""/> |
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
42 |
<set name="EPOCSTACKSIZE" value=""/> |
3 | 43 |
<set name="FULLVARIANTPATH" value="$(VARIANTPLATFORM)/$(VARIANTTYPE)"/> |
44 |
<set name="HEADER_FILES_CONTROL_OPTION" value=""/> |
|
45 |
<set name="LIBRARY_DEBUG" value=""/> |
|
46 |
<set name="MMPDEFS" value=""/> |
|
47 |
<set name="NMAKE" value="nmake"/> |
|
48 |
<set name="NMAKEFLAGS" value="-nologo -x - "/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
49 |
<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/> |
3 | 50 |
<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/> |
51 |
<set name="PERTURBSTARTTIME" value=""/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
52 |
<!-- add a random delay before starting armcc or armlink to ease contention for licenses the maximum time to delay in milliseconds. RANSLEEP program must be available. --> |
3 | 53 |
<set name="PERTURBMSECS" value="500"/> |
54 |
<!-- the maximum time to delay in milliseconds --> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
55 |
<set name="POSTLINKER_COMPRESSION_DEFAULT" value="inflate"/> |
3 | 56 |
<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/> |
57 |
<set name="RESOLVED_DEFFILE" value=""/> |
|
58 |
<set name="RUNTIME_LIBS_PATH" value="$(EPOCROOT)/epoc32/release/armv5/lib"/> |
|
59 |
<set name="SID" value=""/> |
|
60 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/> |
|
61 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/> |
|
62 |
<set name="SYMBIAN_CC_MESSAGE_OPTION" value="$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)"/> |
|
63 |
<set name="SYMBIAN_DLL_DEFINITION" value="__DLL__"/> |
|
64 |
<set name="SYMBIAN_EXE_DEFINITION" value="__EXE__"/> |
|
65 |
<set name="SYMBIAN_LINK_FLAGS" value="$(SYMBIAN_LD_MESSAGE_OPTION) $(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION) $(SYMBIAN_LINK_FLAGS.CONFIG) $(SYMBIAN_LINK_FLAGS.VAR)"/> |
|
66 |
<set name="SYMBIAN_LINK_FLAGS.CONFIG" value=""/> |
|
67 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/> |
|
68 |
<set name="SYSTEMINCLUDE" value=""/> |
|
69 |
<set name="TARGET" value=""/> |
|
70 |
<set name="UNIX_SLASH_FOR_CC_ABS_PATHS" value="0"/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
71 |
<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/> |
3 | 72 |
</var> |
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
9
diff
changeset
|
73 |
|
3 | 74 |
<var name="v5"> |
75 |
<set name="TRADITIONAL_PLATFORM" value="ARMV5"/> |
|
76 |
<set name="VARIANTPLATFORM" value="armv5"/> |
|
77 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/> |
|
78 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV5)"/> |
|
79 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV5)"/> |
|
9 | 80 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/> |
81 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/> |
|
3 | 82 |
<set name="GENERATE_ABIV1_IMPLIBS" value="$(SUPPORTS_ABIV1_IMPLIBS)"/> |
83 |
</var> |
|
84 |
<var name="v6"> |
|
85 |
<set name="TRADITIONAL_PLATFORM" value="ARMV6"/> |
|
86 |
<set name="VARIANTPLATFORM" value="armv6"/> |
|
87 |
<set name="PLATMACROS.CONFIG" value="ARMV6"/> |
|
88 |
<set name="ARMMACROS.CONFIG" value="__ARMV6__"/> |
|
89 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/> |
|
90 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV6)"/> |
|
91 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV6)"/> |
|
92 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
9 | 93 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/> |
94 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/> |
|
3 | 95 |
</var> |
96 |
<var name="v7"> |
|
97 |
<set name="TRADITIONAL_PLATFORM" value="ARMV7"/> |
|
98 |
<set name="VARIANTPLATFORM" value="armv7"/> |
|
99 |
<set name="PLATMACROS.CONFIG" value="ARMV7"/> |
|
100 |
<set name="ARMMACROS.CONFIG" value="__ARMV7__"/> |
|
101 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/> |
|
102 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV7)"/> |
|
103 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV7)"/> |
|
9 | 104 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV3)"/> |
105 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV3)"/> |
|
3 | 106 |
</var> |
107 |
<var name="9e" extends="v5"> |
|
108 |
<set name="VARIANTPLATFORM" value="arm9e"/> |
|
109 |
<set name="PLATMACROS.CONFIG" value="ARM9E"/> |
|
110 |
<set name="ARMMACROS.CONFIG" value="__ARM9E__"/> |
|
111 |
<set name="TARGET_ARCH_OPTION" value="--cpu ARM9E"/> |
|
112 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
113 |
</var> |
|
114 |
||
115 |
<alias name="armv5_urel" meaning="arm.v5.urel.rvct2_2"/> |
|
116 |
<alias name="armv5_udeb" meaning="arm.v5.udeb.rvct2_2"/> |
|
117 |
<!-- To switch to GCCE for building armv5 code, |
|
118 |
comment out the two lines above this comment |
|
119 |
and comment in the two lines below this comment --> |
|
120 |
<!-- <alias name="armv5_urel" meaning="arm.v5.urel.gcce4_3_2"/> --> |
|
121 |
<!-- <alias name="armv5_udeb" meaning="arm.v5.udeb.gcce4_3_2"/> --> |
|
122 |
||
123 |
<!-- These aliases are provided to work with the "gcce_armv5" group --> |
|
124 |
<alias name="armv5_urel_gcce4_3_2" meaning="arm.v5.urel.gcce4_3_2"/> |
|
125 |
<alias name="armv5_udeb_gcce4_3_2" meaning="arm.v5.udeb.gcce4_3_2"/> |
|
126 |
||
127 |
<!-- GCCE 4.3.3 aliases --> |
|
128 |
<alias name="armv5_urel_gcce4_3_3" meaning="arm.v5.urel.gcce4_3_3"/> |
|
129 |
<alias name="armv5_udeb_gcce4_3_3" meaning="arm.v5.udeb.gcce4_3_3"/> |
|
5 | 130 |
|
131 |
<alias name="armv5_urel_gcce4_4_1" meaning="arm.v5.urel.gcce4_4_1"/> |
|
132 |
<alias name="armv5_udeb_gcce4_4_1" meaning="arm.v5.udeb.gcce4_4_1"/> |
|
3 | 133 |
|
134 |
<alias name="armv6_urel" meaning="arm.v6.urel.rvct2_2"/> |
|
135 |
<alias name="armv6_udeb" meaning="arm.v6.udeb.rvct2_2"/> |
|
136 |
<alias name="armv7_urel" meaning="arm.v7.urel.rvct3_1"/> |
|
137 |
<alias name="armv7_udeb" meaning="arm.v7.udeb.rvct3_1"/> |
|
138 |
||
139 |
<alias name="arm9e_urel" meaning="arm.9e.urel.rvct2_2"/> |
|
140 |
<alias name="arm9e_udeb" meaning="arm.9e.udeb.rvct2_2"/> |
|
141 |
||
142 |
<group name="armv5"> |
|
143 |
<aliasRef ref="armv5_urel"/> |
|
144 |
<aliasRef ref="armv5_udeb"/> |
|
145 |
</group> |
|
146 |
||
147 |
<group name="armv6"> |
|
148 |
<aliasRef ref="armv6_urel"/> |
|
149 |
<aliasRef ref="armv6_udeb"/> |
|
150 |
</group> |
|
151 |
<group name="armv7"> |
|
152 |
<aliasRef ref="armv7_urel"/> |
|
153 |
<aliasRef ref="armv7_udeb"/> |
|
154 |
</group> |
|
155 |
||
156 |
<group name="arm9e"> |
|
157 |
<aliasRef ref="arm9e_urel"/> |
|
158 |
<aliasRef ref="arm9e_udeb"/> |
|
159 |
</group> |
|
160 |
||
161 |
<group name="gcce_armv5"> |
|
162 |
<aliasRef ref="armv5_urel_gcce4_3_2"/> |
|
163 |
<aliasRef ref="armv5_udeb_gcce4_3_2"/> |
|
164 |
</group> |
|
165 |
||
166 |
</build> |