author | yiluzhu |
Wed, 26 May 2010 10:25:38 +0100 | |
branch | fix |
changeset 572 | c1583702caf5 |
parent 498 | 564986768b79 |
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 |
<!-- Some common Raptor make engines --> |
|
4 |
||
5 |
<!-- Raptor make engine for GNU make --> |
|
6 |
<var name="make_engine"> |
|
7 |
<varRef ref="default.locations"/> |
|
8 |
||
9 |
<!-- Shell settings --> |
|
10 |
<set name='DEFAULT_SHELL' value='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/talon$(DOTEXE)' type='tool'/> |
|
11 |
<set name='TALON_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
12 |
<set name='USE_TALON' value='1'/> |
|
13 |
<set name='TALON_TIMEOUT' value='600000'/> |
|
14 |
<set name='TALON_DESCRAMBLE' value='1'/> |
|
15 |
||
443
2f5cedd04db9
Changes for delete on failed compile.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
360
diff
changeset
|
16 |
<!-- Work around for RVCT compile failures --> |
2f5cedd04db9
Changes for delete on failed compile.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
360
diff
changeset
|
17 |
<set name='DELETE_ON_FAILED_COMPILE' value='1'/> |
2f5cedd04db9
Changes for delete on failed compile.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
360
diff
changeset
|
18 |
|
3 | 19 |
<!-- Command-line for initialisation --> |
20 |
<set name="initialise" value=""/> |
|
21 |
||
22 |
<!-- Command-line for shutdown --> |
|
23 |
<set name="shutdown" value=""/> |
|
24 |
||
25 |
<!-- Command-line for build --> |
|
26 |
<set name="build" value="$(GNUMAKE38) HAVE_ORDERONLY=1 -r" type="tool"/> |
|
27 |
||
28 |
<!-- Options --> |
|
29 |
<set name="makefile" value="-f"/> |
|
30 |
<set name="keep_going" value="-k"/> |
|
31 |
<set name="jobs" value="-j"/> |
|
32 |
||
33 |
<!-- The following are stuck on the commandline before any options |
|
34 |
specified by the sbs "mo" option, so they can be overridden --> |
|
35 |
<set name="defaultoptions" value=""/> |
|
36 |
||
37 |
<!-- How to split out the makefiles --> |
|
38 |
<set name="selectors" value="export,bitmap,resource_deps,resource,default"/> |
|
39 |
<set name="export.selector.iface" value="\.export$"/> |
|
40 |
<set name="export.selector.target" value="EXPORT"/> |
|
41 |
<set name="bitmap.selector.iface" value="\.(bitmap|extension|mifconv)$"/> |
|
42 |
<set name="bitmap.selector.target" value="BITMAP"/> |
|
43 |
<set name="resource_deps.selector.iface" value="\.resource$"/> |
|
44 |
<set name="resource_deps.selector.target" value="RESOURCE_DEPS"/> |
|
45 |
<set name="resource_deps.selector.ignoretargets" value="^(RESOURCE|CLEAN|CLEANEXPORT|REALLYCLEAN)$"/> |
|
46 |
<set name="resource.selector.iface" value="\.(resource|extension|mif2cdlindex|nativejava)$"/> |
|
47 |
<set name="resource.selector.target" value="RESOURCE"/> |
|
48 |
<set name="default.selector.iface" value="\.(?!export$|bitmap$|resource$|mifconv$|mif2cdlindex$|nativejava$).*$"/> |
|
49 |
<set name="default.selector.target" value="ALL"/> |
|
50 |
||
51 |
<!-- is the text output with -j buffered or scrambled? --> |
|
52 |
<set name="scrambled" value="true"/> |
|
360
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
53 |
|
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
54 |
<!-- workaround for damaged log output from emake --> |
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
55 |
<set name="copylogfromannofile" value="false"/> |
3 | 56 |
</var> |
57 |
||
498
564986768b79
add --query option
Richard Taylor <richard.i.taylor@nokia.com>
parents:
443
diff
changeset
|
58 |
<alias name="make" meaning="make_engine" type="engine"/> |
3 | 59 |
|
60 |
<!-- use the talon shell --> |
|
61 |
<var name="make_no_talon_engine" extends="make_engine"> |
|
62 |
<set name='DEFAULT_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
63 |
<set name='USE_TALON' value=''/> |
|
64 |
</var> |
|
65 |
||
498
564986768b79
add --query option
Richard Taylor <richard.i.taylor@nokia.com>
parents:
443
diff
changeset
|
66 |
<alias name="make_no_talon" meaning="make_no_talon_engine" type="engine"/> |
3 | 67 |
|
68 |
<!-- other derived versions of GNU make --> |
|
69 |
||
70 |
<!-- Raptor make engine for Electric Make --> |
|
71 |
<var name="emake_engine" extends="make_engine"> |
|
72 |
<env name="EMAKE" default="emake" type="tool" versionCommand="$(EMAKE) --version " versionResult="Electric Make version (4\.[2-9])|([56789]\.[0-9])"/> |
|
73 |
<set name="build" value="$(EMAKE) HAVE_ORDERONLY= -r"/> |
|
74 |
<set name="scrambled" value="false"/> |
|
75 |
<set name='TALON_DESCRAMBLE' value=''/> |
|
443
2f5cedd04db9
Changes for delete on failed compile.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
360
diff
changeset
|
76 |
<set name='DELETE_ON_FAILED_COMPILE' value=''/> |
360
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
77 |
|
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
78 |
<!-- workaround for damaged log output from emake --> |
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
79 |
<set name="copylogfromannofile" value="true"/> |
3 | 80 |
</var> |
81 |
||
498
564986768b79
add --query option
Richard Taylor <richard.i.taylor@nokia.com>
parents:
443
diff
changeset
|
82 |
<alias name="emake" meaning="emake_engine" type="engine"/> |
3 | 83 |
|
84 |
<!-- use the talon shell --> |
|
85 |
<var name="emake_no_talon_engine" extends="emake_engine"> |
|
86 |
<set name='DEFAULT_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
87 |
<set name='USE_TALON' value=''/> |
|
88 |
</var> |
|
89 |
||
498
564986768b79
add --query option
Richard Taylor <richard.i.taylor@nokia.com>
parents:
443
diff
changeset
|
90 |
<alias name="emake_no_talon" meaning="emake_no_talon_engine" type="engine"/> |
3 | 91 |
|
92 |
<!-- Raptor make engine for PVMgmake --> |
|
93 |
<var name="pvmgmake_engine" extends="make_engine"> |
|
94 |
<env name="PVMGMAKE" default="pvmgmake" type="tool" versionCommand="$(PVMGMAKE) --version " versionResult="PVMGmake-([0-9]\.[0-9])|(0.) rpt"/> |
|
95 |
<set name="build" value="$(PVMGMAKE) HAVE_ORDERONLY=true -r"/> |
|
96 |
<set name="scrambled" value="false" /> |
|
97 |
<set name='TALON_DESCRAMBLE' value=''/> |
|
443
2f5cedd04db9
Changes for delete on failed compile.
Daniel Jacobs <daniel.jacobs@nokia.com>
parents:
360
diff
changeset
|
98 |
<set name='DELETE_ON_FAILED_COMPILE' value=''/> |
3 | 99 |
</var> |
100 |
||
498
564986768b79
add --query option
Richard Taylor <richard.i.taylor@nokia.com>
parents:
443
diff
changeset
|
101 |
<alias name="pvmgmake" meaning="pvmgmake_engine" type="engine"/> |
3 | 102 |
|
103 |
</build> |