3
|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
2 |
<build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
|
|
3 |
<!-- build configurations for ARM compilers -->
|
|
4 |
<var name="arm" extends="root">
|
|
5 |
<varRef ref="default.interfaces"/>
|
|
6 |
<varRef ref="default.locations"/>
|
|
7 |
<env name="EFREEZE" default="$(PERL) $(EPOCROOT)/epoc32/tools/efreeze.pl" type="tool"/>
|
|
8 |
<!-- picked up from the Environment -->
|
|
9 |
<env name="ELF2E32" default="$(EPOCROOT)/epoc32/tools/elf2e32$(DOTEXE)" type="tool"/>
|
|
10 |
<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/>
|
|
11 |
<env name="CHECKLIB" default="$(EPOCROOT)/epoc32/tools/checklib$(DOTEXE)" type="tool"/>
|
|
12 |
<env name="TRANASM" default="$(PERL) $(EPOCROOT)/epoc32/tools/tranasm.pl" type="tool"/>
|
|
13 |
<env name="CPPFILT" default="$(GCCPREFIX)c++filt$(DOTEXE)" type="tool"/>
|
|
14 |
<env name="RCOMP" default="$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)" type="tool"/>
|
|
15 |
<env name="PREPDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl" type="path"/>
|
|
16 |
<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="path"/>
|
|
17 |
<!-- 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. -->
|
|
18 |
<env name="RANSLEEP" default="$(SBS_HOME)/bin/$(HOSTPLATFORM_DIR)/ransleep$(DOTEXE)" type="tool"/>
|
|
19 |
<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
|
|
20 |
<set name="CDEFS" value=""/>
|
|
21 |
<!-- arm specific interfaces -->
|
|
22 |
<set name="INTERFACE.extension" value="Symbian.extension"/>
|
|
23 |
<!-- link to bld.inf and mmp platform names -->
|
|
24 |
<set name="ARMMACROS" value="__MARM_ARMV5__ $(ARMMACROS.CONFIG) $(ARMMACROS.VAR)"/>
|
|
25 |
<set name="ARMMACROS.CONFIG" value=""/>
|
|
26 |
<set name="ARMMACROS.VAR" value=""/>
|
|
27 |
<set name="CAPABILITY" value=""/>
|
|
28 |
<set name="CODE_SEGMENT_START" value=""/>
|
|
29 |
<set name="DEFAULT_STDCPP_NEWLIB" value="stdnew.dso"/>
|
|
30 |
<set name="DEFAULT_SYMBIAN_NEWLIB" value="scppnwdl.dso"/>
|
|
31 |
<set name="FULLVARIANTPATH" value="$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
|
32 |
<set name="HEADER_FILES_CONTROL_OPTION" value=""/>
|
|
33 |
<set name="LIBRARY_DEBUG" value=""/>
|
|
34 |
<set name="MMPDEFS" value=""/>
|
|
35 |
<set name="NMAKE" value="nmake"/>
|
|
36 |
<set name="NMAKEFLAGS" value="-nologo -x - "/>
|
|
37 |
<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
|
|
38 |
<set name="PERTURBSTARTTIME" value=""/>
|
|
39 |
<!-- add a random delay before starting armcc or armlink to ease contention for licensesthe maximum time to delay in milliseconds. RANSLEEP program must be available. -->
|
|
40 |
<set name="PERTURBMSECS" value="500"/>
|
|
41 |
<!-- the maximum time to delay in milliseconds -->
|
|
42 |
<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
|
|
43 |
<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/>
|
|
44 |
<set name="RESOLVED_DEFFILE" value=""/>
|
|
45 |
<set name="RUNTIME_LIBS_PATH" value="$(EPOCROOT)/epoc32/release/armv5/lib"/>
|
|
46 |
<set name="SBSV1MAKE" value="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)"/>
|
|
47 |
<set name="SID" value=""/>
|
|
48 |
<set name="EPOCSTACKSIZE" value=""/>
|
|
49 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
|
50 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
|
51 |
<set name="SYMBIAN_CC_MESSAGE_OPTION" value="$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)"/>
|
|
52 |
<set name="SYMBIAN_DLL_DEFINITION" value="__DLL__"/>
|
|
53 |
<set name="SYMBIAN_EXE_DEFINITION" value="__EXE__"/>
|
|
54 |
<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)"/>
|
|
55 |
<set name="SYMBIAN_LINK_FLAGS.CONFIG" value=""/>
|
|
56 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
|
|
57 |
<set name="SYSTEMINCLUDE" value=""/>
|
|
58 |
<set name="TARGET" value=""/>
|
|
59 |
<set name="UNIX_SLASH_FOR_CC_ABS_PATHS" value="0"/>
|
|
60 |
<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/>
|
|
61 |
<set name="DUMPBCINFO" value=""/>
|
|
62 |
<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/>
|
|
63 |
<set name="PLATMACROS.WINDOWS" value="$(PLATMACROS.TOOLCHAIN) EPOC32 MARM EABI GENERIC_MARM MARM_ARMV5 $(PLATMACROS.CONFIG) $(PLATMACROS.VAR)"/>
|
|
64 |
<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/>
|
|
65 |
<set name="PLATMACROS.CONFIG" value=""/>
|
|
66 |
<set name="PLATMACROS.VAR" value=""/>
|
|
67 |
<set name="PLATMACROS.TOOLCHAIN" value=""/>
|
9
|
68 |
<set name="POSTLINKER_COMPRESSION_DEFAULT" value="inflate"/>
|
3
|
69 |
</var>
|
|
70 |
<var name="v5">
|
|
71 |
<set name="TRADITIONAL_PLATFORM" value="ARMV5"/>
|
|
72 |
<set name="VARIANTPLATFORM" value="armv5"/>
|
|
73 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/>
|
|
74 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV5)"/>
|
|
75 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV5)"/>
|
9
|
76 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/>
|
|
77 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/>
|
3
|
78 |
<set name="GENERATE_ABIV1_IMPLIBS" value="$(SUPPORTS_ABIV1_IMPLIBS)"/>
|
|
79 |
</var>
|
|
80 |
<var name="v6">
|
|
81 |
<set name="TRADITIONAL_PLATFORM" value="ARMV6"/>
|
|
82 |
<set name="VARIANTPLATFORM" value="armv6"/>
|
|
83 |
<set name="PLATMACROS.CONFIG" value="ARMV6"/>
|
|
84 |
<set name="ARMMACROS.CONFIG" value="__ARMV6__"/>
|
|
85 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/>
|
|
86 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV6)"/>
|
|
87 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV6)"/>
|
|
88 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
|
9
|
89 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/>
|
|
90 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/>
|
3
|
91 |
</var>
|
|
92 |
<var name="v7">
|
|
93 |
<set name="TRADITIONAL_PLATFORM" value="ARMV7"/>
|
|
94 |
<set name="VARIANTPLATFORM" value="armv7"/>
|
|
95 |
<set name="PLATMACROS.CONFIG" value="ARMV7"/>
|
|
96 |
<set name="ARMMACROS.CONFIG" value="__ARMV7__"/>
|
|
97 |
<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/>
|
|
98 |
<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV7)"/>
|
|
99 |
<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV7)"/>
|
9
|
100 |
<set name="COMPILER_FPU_DEFAULT" value="$(CC.SOFTVFP_MAYBE_VFPV3)"/>
|
|
101 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV3)"/>
|
3
|
102 |
</var>
|
|
103 |
<var name="9e" extends="v5">
|
|
104 |
<set name="VARIANTPLATFORM" value="arm9e"/>
|
|
105 |
<set name="PLATMACROS.CONFIG" value="ARM9E"/>
|
|
106 |
<set name="ARMMACROS.CONFIG" value="__ARM9E__"/>
|
|
107 |
<set name="TARGET_ARCH_OPTION" value="--cpu ARM9E"/>
|
|
108 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
|
|
109 |
</var>
|
|
110 |
|
|
111 |
<alias name="armv5_urel" meaning="arm.v5.urel.rvct2_2"/>
|
|
112 |
<alias name="armv5_udeb" meaning="arm.v5.udeb.rvct2_2"/>
|
|
113 |
<!-- To switch to GCCE for building armv5 code,
|
|
114 |
comment out the two lines above this comment
|
|
115 |
and comment in the two lines below this comment -->
|
|
116 |
<!-- <alias name="armv5_urel" meaning="arm.v5.urel.gcce4_3_2"/> -->
|
|
117 |
<!-- <alias name="armv5_udeb" meaning="arm.v5.udeb.gcce4_3_2"/> -->
|
|
118 |
|
|
119 |
<!-- These aliases are provided to work with the "gcce_armv5" group -->
|
|
120 |
<alias name="armv5_urel_gcce4_3_2" meaning="arm.v5.urel.gcce4_3_2"/>
|
|
121 |
<alias name="armv5_udeb_gcce4_3_2" meaning="arm.v5.udeb.gcce4_3_2"/>
|
|
122 |
|
|
123 |
<!-- GCCE 4.3.3 aliases -->
|
|
124 |
<alias name="armv5_urel_gcce4_3_3" meaning="arm.v5.urel.gcce4_3_3"/>
|
|
125 |
<alias name="armv5_udeb_gcce4_3_3" meaning="arm.v5.udeb.gcce4_3_3"/>
|
5
|
126 |
|
|
127 |
<alias name="armv5_urel_gcce4_4_1" meaning="arm.v5.urel.gcce4_4_1"/>
|
|
128 |
<alias name="armv5_udeb_gcce4_4_1" meaning="arm.v5.udeb.gcce4_4_1"/>
|
3
|
129 |
|
|
130 |
<alias name="armv6_urel" meaning="arm.v6.urel.rvct2_2"/>
|
|
131 |
<alias name="armv6_udeb" meaning="arm.v6.udeb.rvct2_2"/>
|
|
132 |
<alias name="armv7_urel" meaning="arm.v7.urel.rvct3_1"/>
|
|
133 |
<alias name="armv7_udeb" meaning="arm.v7.udeb.rvct3_1"/>
|
|
134 |
|
|
135 |
<alias name="arm9e_urel" meaning="arm.9e.urel.rvct2_2"/>
|
|
136 |
<alias name="arm9e_udeb" meaning="arm.9e.udeb.rvct2_2"/>
|
|
137 |
|
|
138 |
<group name="armv5">
|
|
139 |
<aliasRef ref="armv5_urel"/>
|
|
140 |
<aliasRef ref="armv5_udeb"/>
|
|
141 |
</group>
|
|
142 |
|
|
143 |
<group name="armv6">
|
|
144 |
<aliasRef ref="armv6_urel"/>
|
|
145 |
<aliasRef ref="armv6_udeb"/>
|
|
146 |
</group>
|
|
147 |
<group name="armv7">
|
|
148 |
<aliasRef ref="armv7_urel"/>
|
|
149 |
<aliasRef ref="armv7_udeb"/>
|
|
150 |
</group>
|
|
151 |
|
|
152 |
<group name="arm9e">
|
|
153 |
<aliasRef ref="arm9e_urel"/>
|
|
154 |
<aliasRef ref="arm9e_udeb"/>
|
|
155 |
</group>
|
|
156 |
|
|
157 |
<group name="gcce_armv5">
|
|
158 |
<aliasRef ref="armv5_urel_gcce4_3_2"/>
|
|
159 |
<aliasRef ref="armv5_udeb_gcce4_3_2"/>
|
|
160 |
</group>
|
|
161 |
|
|
162 |
</build>
|