author | Richard Taylor <richard.i.taylor@nokia.com> |
Tue, 04 May 2010 12:08:55 +0100 | |
branch | wip |
changeset 507 | 54a88b895bcd |
parent 506 | efe4a967495a |
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 |
</var> |
83 |
<var name="v6"> |
|
84 |
<set name="TRADITIONAL_PLATFORM" value="ARMV6"/> |
|
85 |
<set name="VARIANTPLATFORM" value="armv6"/> |
|
86 |
<set name="PLATMACROS.CONFIG" value="ARMV6"/> |
|
87 |
<set name="ARMMACROS.CONFIG" value="__ARMV6__"/> |
|
88 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/> |
|
89 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV6)"/> |
|
90 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV6)"/> |
|
91 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
9 | 92 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/> |
93 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/> |
|
506
efe4a967495a
test changes for abiv1 kit property
Richard Taylor <richard.i.taylor@nokia.com>
parents:
505
diff
changeset
|
94 |
<set name="SUPPORTS_ABIV1_IMPLIBS" value=""/> |
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)"/> |
|
506
efe4a967495a
test changes for abiv1 kit property
Richard Taylor <richard.i.taylor@nokia.com>
parents:
505
diff
changeset
|
106 |
<set name="SUPPORTS_ABIV1_IMPLIBS" value=""/> |
3 | 107 |
</var> |
108 |
<var name="9e" extends="v5"> |
|
109 |
<set name="VARIANTPLATFORM" value="arm9e"/> |
|
110 |
<set name="PLATMACROS.CONFIG" value="ARM9E"/> |
|
111 |
<set name="ARMMACROS.CONFIG" value="__ARM9E__"/> |
|
112 |
<set name="TARGET_ARCH_OPTION" value="--cpu ARM9E"/> |
|
113 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/> |
|
114 |
</var> |
|
115 |
||
116 |
<alias name="armv5_urel" meaning="arm.v5.urel.rvct2_2"/> |
|
117 |
<alias name="armv5_udeb" meaning="arm.v5.udeb.rvct2_2"/> |
|
118 |
<!-- To switch to GCCE for building armv5 code, |
|
119 |
comment out the two lines above this comment |
|
120 |
and comment in the two lines below this comment --> |
|
121 |
<!-- <alias name="armv5_urel" meaning="arm.v5.urel.gcce4_3_2"/> --> |
|
122 |
<!-- <alias name="armv5_udeb" meaning="arm.v5.udeb.gcce4_3_2"/> --> |
|
123 |
||
124 |
<!-- These aliases are provided to work with the "gcce_armv5" group --> |
|
125 |
<alias name="armv5_urel_gcce4_3_2" meaning="arm.v5.urel.gcce4_3_2"/> |
|
126 |
<alias name="armv5_udeb_gcce4_3_2" meaning="arm.v5.udeb.gcce4_3_2"/> |
|
127 |
||
128 |
<!-- GCCE 4.3.3 aliases --> |
|
129 |
<alias name="armv5_urel_gcce4_3_3" meaning="arm.v5.urel.gcce4_3_3"/> |
|
130 |
<alias name="armv5_udeb_gcce4_3_3" meaning="arm.v5.udeb.gcce4_3_3"/> |
|
5 | 131 |
|
132 |
<alias name="armv5_urel_gcce4_4_1" meaning="arm.v5.urel.gcce4_4_1"/> |
|
133 |
<alias name="armv5_udeb_gcce4_4_1" meaning="arm.v5.udeb.gcce4_4_1"/> |
|
3 | 134 |
|
135 |
<alias name="armv6_urel" meaning="arm.v6.urel.rvct2_2"/> |
|
136 |
<alias name="armv6_udeb" meaning="arm.v6.udeb.rvct2_2"/> |
|
137 |
<alias name="armv7_urel" meaning="arm.v7.urel.rvct3_1"/> |
|
138 |
<alias name="armv7_udeb" meaning="arm.v7.udeb.rvct3_1"/> |
|
139 |
||
140 |
<alias name="arm9e_urel" meaning="arm.9e.urel.rvct2_2"/> |
|
141 |
<alias name="arm9e_udeb" meaning="arm.9e.udeb.rvct2_2"/> |
|
142 |
||
143 |
<group name="armv5"> |
|
144 |
<aliasRef ref="armv5_urel"/> |
|
145 |
<aliasRef ref="armv5_udeb"/> |
|
146 |
</group> |
|
147 |
||
148 |
<group name="armv6"> |
|
149 |
<aliasRef ref="armv6_urel"/> |
|
150 |
<aliasRef ref="armv6_udeb"/> |
|
151 |
</group> |
|
152 |
<group name="armv7"> |
|
153 |
<aliasRef ref="armv7_urel"/> |
|
154 |
<aliasRef ref="armv7_udeb"/> |
|
155 |
</group> |
|
156 |
||
157 |
<group name="arm9e"> |
|
158 |
<aliasRef ref="arm9e_urel"/> |
|
159 |
<aliasRef ref="arm9e_udeb"/> |
|
160 |
</group> |
|
161 |
||
162 |
<group name="gcce_armv5"> |
|
163 |
<aliasRef ref="armv5_urel_gcce4_3_2"/> |
|
164 |
<aliasRef ref="armv5_udeb_gcce4_3_2"/> |
|
165 |
</group> |
|
166 |
||
167 |
</build> |