217
|
1 |
<?xml version="1.0"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name :
|
|
5 |
Part of : Helium
|
|
6 |
|
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
8 |
All rights reserved.
|
|
9 |
This component and the accompanying materials are made available
|
|
10 |
under the terms of the License "Eclipse Public License v1.0"
|
|
11 |
which accompanies this distribution, and is available
|
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
13 |
|
|
14 |
Initial Contributors:
|
|
15 |
Nokia Corporation - initial contribution.
|
|
16 |
|
|
17 |
Contributors:
|
|
18 |
|
|
19 |
Description:
|
|
20 |
|
|
21 |
============================================================================
|
|
22 |
-->
|
|
23 |
<project name="common_sbs_input" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description>
|
|
25 |
Common sbs input config.
|
|
26 |
</description>
|
|
27 |
<!-- Common make options for particular engine values of it could be overridden by referencing it-->
|
|
28 |
<hlm:sbsmakeoptions id="commonEMakeOptions" engine="emake">
|
|
29 |
<arg name="--emake-emulation" value="gmake" />
|
|
30 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
31 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
32 |
<arg name="--emake-historyfile" value="${build.log.dir}/ec_history/raptor_clean.emake.data" />
|
|
33 |
<arg name="--case-sensitive" value="0" />
|
|
34 |
<arg name="--emake-root" value="${env.EMAKE_ROOT};${helium.dir};${env.SBS_HOME}" />
|
|
35 |
</hlm:sbsmakeoptions>
|
|
36 |
|
|
37 |
<hlm:sbsmakeoptions id="commonGmakeOptions" engine="gmake" />
|
|
38 |
<hlm:sbsmakeoptions id="commonPVMGmakeOptions" engine="pvmgmake" />
|
|
39 |
|
|
40 |
<!-- Tools specific make options inheriting the commone make option-->
|
|
41 |
<hlm:sbsmakeoptions id="toolsmake-sbs-ec">
|
|
42 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
43 |
<arg name="--emake-maxagents" value="1" />
|
|
44 |
</hlm:sbsmakeoptions>
|
|
45 |
|
|
46 |
<!-- Main build make option directly refering to common emake option -->
|
|
47 |
<hlm:sbsmakeoptions id="mainbuildmake-sbs-ec">
|
|
48 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
49 |
</hlm:sbsmakeoptions>
|
|
50 |
|
|
51 |
<!-- tools common sbs options -->
|
|
52 |
<hlm:sbsoptions id="commonSBS">
|
|
53 |
<arg line="-k" />
|
|
54 |
</hlm:sbsoptions>
|
|
55 |
|
|
56 |
<!-- tools common sbs options -->
|
|
57 |
<hlm:sbsoptions id="toolsCommonSBS">
|
|
58 |
<argset refid="commonSBS" />
|
|
59 |
<arg line="-c tools_rel -c tools2_rel" />
|
|
60 |
<arg line="-j 1" />
|
|
61 |
</hlm:sbsoptions>
|
|
62 |
|
|
63 |
<hlm:sbsoptions id="winscwSBSOptions">
|
|
64 |
<argset refid="commonSBS" />
|
|
65 |
<arg line="-c winscw" />
|
|
66 |
</hlm:sbsoptions>
|
|
67 |
|
|
68 |
<!-- Mainbuild common sbs options -->
|
|
69 |
<hlm:sbsoptions id="armv5CommonSBS">
|
|
70 |
<argset refid="commonSBS" />
|
|
71 |
<arg line="-c armv5" />
|
|
72 |
</hlm:sbsoptions>
|
|
73 |
|
|
74 |
<hlm:sbsoptions id="testCommonSBS">
|
|
75 |
<argset refid="commonSBS" />
|
|
76 |
<arg line="-c armv5.test" />
|
|
77 |
</hlm:sbsoptions>
|
|
78 |
|
|
79 |
|
|
80 |
<hlm:sbsoptions id="testCleanSBS">
|
|
81 |
<argset refid="testcommonSBS" />
|
|
82 |
<argset refid="cleanCommon" />
|
|
83 |
</hlm:sbsoptions>
|
|
84 |
|
|
85 |
<hlm:sbsoptions id="cleanCommon">
|
|
86 |
<arg line="REALLYCLEAN" />
|
|
87 |
</hlm:sbsoptions>
|
|
88 |
|
|
89 |
<!-- Mainbuild common sbs options -->
|
|
90 |
<hlm:sbsoptions id="armv5Clean">
|
|
91 |
<argset refid="armv5CommonSBS"/>
|
|
92 |
<argset refid="cleanCommon" />
|
|
93 |
</hlm:sbsoptions>
|
|
94 |
|
|
95 |
|
|
96 |
<!-- Mainbuild common sbs options -->
|
|
97 |
<hlm:sbsoptions id="toolsClean">
|
|
98 |
<argset refid="toolsCommonSBS"/>
|
|
99 |
<argset refid="cleanCommon" />
|
|
100 |
</hlm:sbsoptions>
|
|
101 |
|
|
102 |
<!-- Mainbuild common sbs options -->
|
|
103 |
<hlm:sbsoptions id="winscwClean">
|
|
104 |
<argset refid="winscwSBSOptions"/>
|
|
105 |
<argset refid="cleanCommon" />
|
|
106 |
</hlm:sbsoptions>
|
|
107 |
|
|
108 |
<!-- sbs input consists of sbs options and sbs make options, the sbs options remains same for all
|
|
109 |
the build system, the make options varies
|
|
110 |
-->
|
|
111 |
<hlm:sbsinput id="tools-sbs">
|
|
112 |
<sbsoptions refid="toolsCommonSBS" />
|
|
113 |
</hlm:sbsinput>
|
|
114 |
|
|
115 |
<hlm:sbsinput id="tools-sbs-clean">
|
|
116 |
<sbsoptions refid="toolsClean" />
|
|
117 |
</hlm:sbsinput>
|
|
118 |
|
|
119 |
<hlm:sbsinput id="tools-sbs-ec">
|
|
120 |
<sbsoptions refid="toolsCommonSBS" />
|
|
121 |
<sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
|
|
122 |
</hlm:sbsinput>
|
|
123 |
|
|
124 |
<hlm:sbsinput id="tools-sbs-ec-clean">
|
|
125 |
<sbsoptions refid="toolsClean" />
|
|
126 |
<sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
|
|
127 |
</hlm:sbsinput>
|
|
128 |
|
|
129 |
<!-- sbs input for main build.
|
|
130 |
-->
|
|
131 |
<hlm:sbsinput id="armv5-sbs">
|
|
132 |
<sbsoptions refid="armv5CommonSBS" />
|
|
133 |
</hlm:sbsinput>
|
|
134 |
|
|
135 |
<hlm:sbsinput id="armv5-sbs-clean">
|
|
136 |
<sbsoptions refid="armv5Clean" />
|
|
137 |
</hlm:sbsinput>
|
|
138 |
|
|
139 |
<!-- sbs input for main build.
|
|
140 |
-->
|
|
141 |
<hlm:sbsinput id="armv5-sbs-ec">
|
|
142 |
<sbsoptions refid="armv5CommonSBS" />
|
|
143 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
144 |
</hlm:sbsinput>
|
|
145 |
|
|
146 |
<hlm:sbsinput id="armv5-sbs-ec-clean">
|
|
147 |
<sbsoptions refid="armv5Clean" />
|
|
148 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
|
|
149 |
</hlm:sbsinput>
|
|
150 |
|
|
151 |
<hlm:sbsinput id="winscw-sbs">
|
|
152 |
<sbsoptions refid="winscwSBSOptions" />
|
|
153 |
</hlm:sbsinput>
|
|
154 |
|
|
155 |
<hlm:sbsinput id="winscw-sbs-clean">
|
|
156 |
<sbsoptions refid="winscwClean" />
|
|
157 |
</hlm:sbsinput>
|
|
158 |
|
|
159 |
<hlm:sbsinput id="winscw-sbs-ec-clean">
|
|
160 |
<sbsoptions refid="winscwClean" />
|
|
161 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
162 |
</hlm:sbsinput>
|
|
163 |
|
|
164 |
<hlm:sbsinput id="test-sbs">
|
|
165 |
<sbsoptions refid="testCommonSBS" />
|
|
166 |
</hlm:sbsinput>
|
|
167 |
|
|
168 |
<hlm:sbsinput id="test-sbs-clean">
|
|
169 |
<sbsoptions refid="testCleanSBS" />
|
|
170 |
</hlm:sbsinput>
|
|
171 |
|
|
172 |
<!-- sbs input for main build.
|
|
173 |
-->
|
|
174 |
<hlm:sbsinput id="test-sbs-ec">
|
|
175 |
<sbsoptions refid="testCommonSBS" />
|
|
176 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
177 |
</hlm:sbsinput>
|
|
178 |
|
|
179 |
<hlm:sbsinput id="test-sbs-ec-clean">
|
|
180 |
<sbsoptions refid="testCleanSBS" />
|
|
181 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
|
|
182 |
</hlm:sbsinput>
|
|
183 |
|
|
184 |
</project> |