author | Jon Chatten |
Tue, 30 Mar 2010 15:24:50 +0100 | |
branch | fix |
changeset 421 | 7db5250b5d4c |
parent 400 | 554cc189839f |
child 412 | 824dddcc66f7 |
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"> |
|
3 |
<!-- The standard locations for widely used tools and resources. |
|
4 |
||
5 |
This is easier to maintain than defining the locations in each |
|
6 |
configuration that uses a tool or resource. |
|
7 |
--> |
|
8 |
||
9 |
<var name="hostplatform.locations" host='linux.*'> |
|
10 |
<set name='DOTEXE' value=''/> |
|
11 |
<set name='GCCPREFIX' value='/usr/bin/'/> |
|
12 |
<set name='GNUPREFIX' value='/bin/'/> |
|
13 |
||
14 |
<env name='HOSTPLATFORM_DIR' default='linux-i386' /> |
|
15 |
<env name='HOSTPLATFORM' default='linux i386'/> |
|
16 |
||
17 |
<env name='SBS_GNUCPP' default='/usr/bin/cpp' type='tool'/> |
|
18 |
<env name='SBS_GNUDATE' default='/bin/date' type='tool'/> |
|
19 |
<env name='SBS_GNUMAKE38' default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/make' type='tool'/> |
|
20 |
<env name='SBS_GNUSED' default='/bin/sed' type='tool'/> |
|
21 |
<env name='SBS_GNUMKDIR' default='/bin/mkdir' type='tool'/> |
|
22 |
<env name='SBS_GNUMV' default='/bin/mv' type='tool'/> |
|
23 |
<env name='SBS_GNUCP' default='/bin/cp' type='tool'/> |
|
24 |
<env name='SBS_GNUCAT' default='/bin/cat' type='tool'/> |
|
25 |
<env name='SBS_GNURM' default='/bin/rm' type='tool'/> |
|
26 |
<env name='SBS_GNULN' default='/bin/ln' type='tool'/> |
|
27 |
<env name='SBS_GNURMDIR' default='/bin/rmdir' type='tool'/> |
|
28 |
<env name='SBS_GNUCHMOD' default='/bin/chmod' type='tool'/> |
|
29 |
<env name='SBS_GNUMD5SUM' default='/usr/bin/md5sum' type='tool'/> |
|
30 |
<env name='SBS_GNUTOUCH' default='/bin/touch' type='tool'/> |
|
31 |
<env name='SBS_GNUFIND' default='/usr/bin/find' type='tool'/> |
|
32 |
<env name='SBS_GNUGREP' default='/bin/grep' type='tool'/> |
|
376
13daff9462b6
release note: Fix: improve robustness to bad -c options
Richard Taylor <richard.i.taylor@nokia.com>
parents:
299
diff
changeset
|
33 |
<env name='SBS_GNUSORT' default='sort' type='tool'/> |
3 | 34 |
<env name='SBS_SHELL' default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/sh" type='tool'/> |
35 |
<env name='SBS_ZIP' default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/zip" type='tool'/> |
|
36 |
<env name='SBS_UNZIP' default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/unzip" type='tool'/> |
|
37 |
<env name='SBS_BVCPP' default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp" type='tool'/> |
|
38 |
<env name='SBS_PERL' default='perl' type='tool'/> |
|
39 |
<env name='SBS_PYTHON' default='python' type='tool'/> |
|
40 |
</var> |
|
41 |
<var name="hostplatform.locations" host='win.*' > |
|
42 |
<set name='COREUTILSBINDIR' value='$(SBS_CYGWIN)/bin' type='path'/> |
|
43 |
<set name='DOTEXE' value='.exe'/> |
|
44 |
<set name='GNUPREFIX' value='$(COREUTILSBINDIR)/'/> |
|
45 |
<set name='GCCPREFIX' value='$(MINGWBINDIR)/'/> |
|
46 |
<set name='MINGWBINDIR' value='$(SBS_MINGW)/bin' type='path'/> |
|
47 |
||
48 |
<env name='HOSTPLATFORM_DIR' default='win32' /> |
|
49 |
<env name='HOSTPLATFORM' default='win 32' /> |
|
50 |
||
51 |
<env name='SBS_CYGWIN' default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/cygwin' type='path'/> |
|
52 |
<env name='SBS_MINGW' default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/mingw' type='path'/> |
|
53 |
<env name='SBS_GNUCPP' default='$(MINGWBINDIR)/cpp.exe' type='tool'/> |
|
54 |
<env name='SBS_GNUDATE' default='$(COREUTILSBINDIR)/date.exe' type='tool'/> |
|
55 |
<env name='SBS_GNUMAKE38' default='$(MINGWBINDIR)/make.exe' type='tool'/> |
|
56 |
<env name='SBS_GNUSED' default='$(COREUTILSBINDIR)/sed.exe' type='tool'/> |
|
57 |
<env name='SBS_GNUMKDIR' default='$(COREUTILSBINDIR)/mkdir.exe' type='tool'/> |
|
58 |
<env name='SBS_GNUCP' default='$(COREUTILSBINDIR)/cp.exe' type='tool'/> |
|
59 |
<env name='SBS_GNUMV' default='$(COREUTILSBINDIR)/mv.exe' type='tool'/> |
|
60 |
<env name='SBS_GNUCAT' default='$(COREUTILSBINDIR)/cat.exe' type='tool'/> |
|
61 |
<env name='SBS_GNURM' default='$(COREUTILSBINDIR)/rm.exe' type='tool'/> |
|
62 |
<env name='SBS_GNULN' default='$(COREUTILSBINDIR)/ln.exe' type='tool'/> |
|
63 |
<env name='SBS_GNURMDIR' default='$(COREUTILSBINDIR)/rmdir.exe' type='tool'/> |
|
64 |
<env name='SBS_GNUCHMOD' default='$(COREUTILSBINDIR)/chmod.exe' type='tool'/> |
|
65 |
<env name='SBS_GNUMD5SUM' default='$(COREUTILSBINDIR)/md5sum.exe' type='tool'/> |
|
66 |
<env name='SBS_GNUTOUCH' default='$(COREUTILSBINDIR)/touch.exe' type='tool'/> |
|
67 |
<env name='SBS_GNUFIND' default='$(COREUTILSBINDIR)/find.exe' type='tool'/> |
|
68 |
<env name='SBS_GNUGREP' default='$(COREUTILSBINDIR)/grep.exe' type='tool'/> |
|
69 |
<env name='SBS_GNUSORT' default='$(COREUTILSBINDIR)/sort.exe' type='tool'/> |
|
70 |
<env name='SBS_SHELL' default="$(COREUTILSBINDIR)/sh.exe" type='tool'/> |
|
71 |
<env name='SBS_ZIP' default="$(COREUTILSBINDIR)/zip.exe" type='tool'/> |
|
72 |
<env name='SBS_UNZIP' default="$(COREUTILSBINDIR)/unzip.exe" type='tool'/> |
|
73 |
<env name='SBS_BVCPP' default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp.exe" type='tool'/> |
|
74 |
<env name='SBS_PERL' default='perl.exe' type='tool'/> |
|
299
2257b1af191f
SF Bug 1912 - Raptor should take python from the path [if not set with SBS_PYTHON or bundled with Raptor] - revised.
Jon Chatten
parents:
149
diff
changeset
|
75 |
<env name='SBS_PYTHON' default='python.exe' type='tool'/> |
3 | 76 |
</var> |
77 |
||
78 |
<var name="default.locations" extends="hostplatform.locations"> |
|
79 |
<env name='EPOCROOT' default='' type='path'/> |
|
5 | 80 |
<env name='SBS_HOME' default='' type='path'/> |
3 | 81 |
<!-- Place where intermediate files are built --> |
82 |
<env name='SBS_BUILD_DIR' default='$(EPOCROOT)/epoc32/build' type='path'/> |
|
83 |
||
84 |
<set name='DATE' value='$(SBS_GNUDATE)' type='tool'/> |
|
85 |
<set name='GNUCPP' value='$(SBS_GNUCPP)' type='tool' versionCommand='$(GNUCPP) --version' versionResult='cpp(.exe)? .* [345]\..*'/> |
|
86 |
<set name='GNUCP' value='$(SBS_GNUCP)' type='tool' versionCommand='$(GNUCP) --version' versionResult='cp(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*'/> |
|
87 |
<set name='GNUMV' value='$(SBS_GNUMV)' type='tool' versionCommand='$(GNUMV) --version' versionResult='mv(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*'/> |
|
88 |
<set name='GNUCAT' value='$(SBS_GNUCAT)' type='tool' versionCommand='$(GNUCAT) --version' versionResult='cat(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*'/> |
|
89 |
<set name='GNUMAKE38' value='$(SBS_GNUMAKE38)' type='tool' versionCommand='$(GNUMAKE38) -v' versionResult='GNU Make 3.8[1-9]'/> |
|
90 |
<set name='GNUSED' value='$(SBS_GNUSED)' type='tool' versionCommand='$(GNUSED) --version' versionResult='GNU sed version [3-9].*'/> |
|
91 |
<set name='GNUMKDIR' value='$(SBS_GNUMKDIR)' type='tool' versionCommand='$(GNUMKDIR) --version' versionResult='.*'/> |
|
92 |
<set name='GNURM' value='$(SBS_GNURM)' type='tool' versionCommand='$(GNURM) --version' versionResult='rm.*coreutils.*'/> |
|
93 |
<set name='GNULN' value='$(SBS_GNULN)' type='tool' versionCommand='$(GNULN) --version' versionResult='ln.*coreutils.*'/> |
|
94 |
<set name='GNURMDIR' value='$(SBS_GNURMDIR)' type='tool' versionCommand='$(GNURMDIR) --version' versionResult='rmdir.*coreutils.*'/> |
|
95 |
<set name='GNUCHMOD' value='$(SBS_GNUCHMOD)' type='tool' versionCommand='$(GNUCHMOD) --version' versionResult='chmod.*coreutils.*'/> |
|
96 |
<set name='GNUMD5SUM' value='$(SBS_GNUMD5SUM)' type='tool' versionCommand='$(GNUMD5SUM) --version' versionResult='md5sum.*coreutils.*'/> |
|
97 |
<set name='GNUTOUCH' value='$(SBS_GNUTOUCH)' type='tool' versionCommand='$(GNUTOUCH) --version' versionResult='touch.*coreutils.*'/> |
|
98 |
<set name='GNUFIND' value='$(SBS_GNUFIND)' type='tool' versionCommand='$(GNUFIND) --version' versionResult='(GNU)?.*find.*(GNU)?.*'/> |
|
99 |
<set name='GNUGREP' value='$(SBS_GNUGREP)' type='tool' versionCommand='$(GNUGREP) --version' versionResult='(GNU)?.*grep.*(GNU)?.*'/> |
|
100 |
<set name='GNUSORT' value='$(SBS_GNUSORT)' type='tool' versionCommand='$(GNUSORT) --version' versionResult='(GNU)?.*sort.*(GNU)?.*'/> |
|
101 |
<set name='ZIP' value="$(SBS_ZIP)" type='tool'/> |
|
102 |
<set name='UNZIP' value="$(SBS_UNZIP)" type='tool'/> |
|
103 |
<set name='PERL' value='$(SBS_PERL)' type='tool'/> |
|
104 |
<set name='PYTHON' value='$(SBS_PYTHON)' type='tool' versionCommand='$(PYTHON) -V' versionResult='Python 2\.[456].*'/> |
|
105 |
||
106 |
<set name='DEFAULT_PLATFORMS' value='ARMV5 ARMV7 WINSCW'/> |
|
107 |
<set name='BASE_DEFAULT_PLATFORMS' value='ARMV5 ARMV7 WINSCW ARMV5SMP'/> |
|
108 |
<set name='BASE_USER_DEFAULT_PLATFORMS' value='ARMV5 ARMV7 WINSCW'/> |
|
109 |
||
110 |
<set name='BUILD_INCLUDE' value=''/> |
|
400
554cc189839f
Support for resolving, on Windows only, <env/> 'tool' and 'toolchain' type paths with spaces.
Jon Chatten
parents:
376
diff
changeset
|
111 |
<set name='CREATEVMAP' value='$(PYTHON) $(SBS_HOME)/bin/createvmap.py' type='script'/> |
3 | 112 |
<set name='CREATEVMAPCPP' value='$(SBS_BVCPP)' type='tool'/> |
113 |
<set name='FEATURELISTFILES' value=''/> |
|
114 |
<set name='FEATUREVARIANTNAME' value=''/> |
|
115 |
</var> |
|
116 |
||
117 |
</build> |