1 <?xml version="1.0"?> |
|
2 <!-- Enable this after dtd is available with OsExt release --> |
|
3 <!DOCTYPE SystemDefinition [ |
|
4 <!ELEMENT SystemDefinition (systemModel?, build?)> |
|
5 <!ATTLIST SystemDefinition |
|
6 name CDATA #REQUIRED |
|
7 schema CDATA #REQUIRED> |
|
8 <!ELEMENT systemModel (layer+)> |
|
9 <!ELEMENT layer (logicalset* | module*)*> |
|
10 <!ATTLIST layer |
|
11 name CDATA #REQUIRED |
|
12 levels CDATA #IMPLIED |
|
13 span CDATA #IMPLIED> |
|
14 <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*> |
|
15 <!ATTLIST logicalset name CDATA #REQUIRED> |
|
16 <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*> |
|
17 <!ATTLIST logicalsubset name CDATA #REQUIRED> |
|
18 <!ELEMENT module (component* | unit* | package* | prebuilt*)*> |
|
19 <!ATTLIST module |
|
20 name CDATA #REQUIRED |
|
21 level CDATA #IMPLIED> |
|
22 <!ELEMENT component (unit* | package* | prebuilt*)*> |
|
23 <!ATTLIST component name CDATA #REQUIRED> |
|
24 <!ELEMENT unit EMPTY> |
|
25 <!ATTLIST unit |
|
26 unitID ID #REQUIRED |
|
27 name CDATA #REQUIRED |
|
28 mrp CDATA #REQUIRED |
|
29 filter CDATA #IMPLIED |
|
30 bldFile CDATA #REQUIRED |
|
31 priority CDATA #IMPLIED |
|
32 contract CDATA #IMPLIED> |
|
33 <!ELEMENT package EMPTY> |
|
34 <!ATTLIST package |
|
35 name CDATA #REQUIRED |
|
36 mrp CDATA #REQUIRED |
|
37 filter CDATA #IMPLIED |
|
38 contract CDATA #IMPLIED> |
|
39 <!ELEMENT prebuilt EMPTY> |
|
40 <!ATTLIST prebuilt |
|
41 name CDATA #REQUIRED |
|
42 version CDATA #REQUIRED |
|
43 late (Y|N) #IMPLIED |
|
44 filter CDATA #IMPLIED |
|
45 contract CDATA #IMPLIED> |
|
46 <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*> |
|
47 <!ELEMENT unitList (unitRef+)> |
|
48 <!ATTLIST unitList |
|
49 name ID #REQUIRED |
|
50 description CDATA #REQUIRED> |
|
51 <!ELEMENT unitRef EMPTY> |
|
52 <!ATTLIST unitRef unit IDREF #REQUIRED> |
|
53 <!ELEMENT targetList EMPTY> |
|
54 <!ATTLIST targetList |
|
55 name ID #REQUIRED |
|
56 description CDATA #REQUIRED |
|
57 target IDREFS #REQUIRED> |
|
58 <!ELEMENT target EMPTY> |
|
59 <!ATTLIST target |
|
60 name ID #REQUIRED |
|
61 abldTarget CDATA #REQUIRED |
|
62 description CDATA #REQUIRED> |
|
63 <!ELEMENT option EMPTY> |
|
64 <!ATTLIST option |
|
65 name ID #REQUIRED |
|
66 abldOption CDATA #REQUIRED |
|
67 description CDATA #REQUIRED |
|
68 enable (Y | N | y | n) #REQUIRED> |
|
69 <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*> |
|
70 <!ATTLIST configuration |
|
71 name ID #REQUIRED |
|
72 description CDATA #REQUIRED |
|
73 filter CDATA #REQUIRED> |
|
74 <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))> |
|
75 <!ELEMENT unitListRef EMPTY> |
|
76 <!ATTLIST unitListRef unitList IDREF #REQUIRED> |
|
77 <!ELEMENT layerRef EMPTY> |
|
78 <!ATTLIST layerRef layerName CDATA #REQUIRED> |
|
79 <!ELEMENT buildLayer EMPTY> |
|
80 <!ATTLIST buildLayer |
|
81 command CDATA #REQUIRED |
|
82 targetList IDREFS #IMPLIED |
|
83 unitParallel (Y | N | y | n) #REQUIRED |
|
84 targetParallel (Y | N | y | n) #IMPLIED> |
|
85 <!ELEMENT specialInstructions EMPTY> |
|
86 <!ATTLIST specialInstructions |
|
87 name CDATA #REQUIRED |
|
88 cwd CDATA #REQUIRED |
|
89 command CDATA #REQUIRED> |
|
90 ]> |
|
91 |
|
92 |
|
93 |
|
94 <SystemDefinition name="PPD_build" schema="1.4.0"> |
|
95 |
|
96 <systemModel> |
|
97 <!-- Common file for prebuild layers--> |
|
98 |
|
99 |
|
100 <layer name="layer1"> |
|
101 <module name="module1"> |
|
102 <component name="component1"> |
|
103 <unit unitID="unit1" name="unit1" bldFile="unit1\location" mrp="" filter=""/> |
|
104 <unit unitID="unit2" name="unit2" bldFile="unit2\location" mrp="" filter="!skip"/> |
|
105 <unit unitID="unit3" name="unit3" bldFile="unit3\location" mrp="" filter="skip"/> |
|
106 </component> |
|
107 </module> |
|
108 </layer> |
|
109 |
|
110 </systemModel> |
|
111 |
|
112 <build> |
|
113 |
|
114 <option name="KEEPGOING" abldOption="-keepgoing" description="Causes make to keepgoing on errors" enable="Y"/> |
|
115 <option name="SAVESPACE" abldOption="-savespace" description="Causes the removal of intermediate files" enable="N"/> |
|
116 <target name="WINS" abldTarget="wins" description="MSVC Compiler"/> |
|
117 <target name="WINS_REL" abldTarget="wins urel" description="MSVC Compiler"/> |
|
118 <target name="WINS_DEB" abldTarget="wins udeb" description="MSVC Compiler"/> |
|
119 <target name="WINSCW" abldTarget="winscw" description="CodeWarrior Compiler"/> |
|
120 <target name="WINSCW_REL" abldTarget="winscw urel" description="CodeWarrior Compiler"/> |
|
121 <target name="WINSCW_DEB" abldTarget="winscw udeb" description="CodeWarrior Compiler"/> |
|
122 <target name="TOOLS" abldTarget="tools" description="MSVC Compiler for Tools"/> |
|
123 <target name="TOOLS_REL" abldTarget="tools rel" description="MSVC Compiler for Tools Release mode only"/> |
|
124 <target name="ARMV5" abldTarget="armv5" description="RVCT Compiler"/> |
|
125 <target name="ARMV5_REL" abldTarget="armv5 urel" description="RVCT Compiler"/> |
|
126 <target name="ARMV5_DEB" abldTarget="armv5 udeb" description="RVCT Compiler"/> |
|
127 |
|
128 <!-- Aditional Targets --> |
|
129 <target name="CWTOOLS" abldTarget="cwtools" description="CodeWarrior Compiler for Tools"/> <!-- Not supported --> |
|
130 <target name="CWTOOLS_REL" abldTarget="cwtools rel" description="CodeWarrior Compiler for Tools Release mode only"/> <!-- Not supported --> |
|
131 |
|
132 <targetList name="default" description="Main Targets" target="WINSCW ARMV5"/> |
|
133 <targetList name="default_winscw" description="Main Targets" target="WINSCW"/> |
|
134 <targetList name="default_armv5" description="Main Targets" target="ARMV5"/> |
|
135 <targetList name="default_rel" description="Main Targets for rel" target="ARMV5_REL"/> |
|
136 <targetList name="default_deb" description="Main Targets for deb" target="ARMV5_DEB"/> |
|
137 <targetList name="default_tools" description="tools Targets" target="TOOLS"/> |
|
138 <targetList name="tools_rel" description="tools Release Targets" target="TOOLS_REL"/> |
|
139 <targetList name="cwtools" description="cwtools Targets" target="CWTOOLS"/> |
|
140 <targetList name="cwtools_rel" description="cwtools Release Targets" target="CWTOOLS_REL"/> |
|
141 |
|
142 <configuration name="config1" description="config1" filter=""> |
|
143 <task><specialInstructions name="attrib" cwd="%EPOCROOT%" command="attrib -R \*.* /S /D"/></task> |
|
144 <task><specialInstructions name="touch_s60" cwd="%EPOCROOT%" command="toucher.exe \s60"/></task> |
|
145 <task><specialInstructions name="touch_ppd_sw" cwd="%EPOCROOT%" command="toucher.exe \ppd_sw"/></task> |
|
146 <task><specialInstructions name="touch_ncp_sw" cwd="%EPOCROOT%" command="toucher.exe \ncp_sw"/></task> |
|
147 <task><specialInstructions name="touch_tools_ncp_tools" cwd="%EPOCROOT%" command="toucher.exe \tools\ncp_tools"/></task> |
|
148 <task><specialInstructions name="touch_config" cwd="%EPOCROOT%" command="toucher.exe \config"/></task> |
|
149 <task><specialInstructions name="touch_psw" cwd="%EPOCROOT%" command="toucher.exe \psw"/></task> |
|
150 <task><specialInstructions name="CopyCommonVariation" cwd="\psw\ncp_psw\psw" command="xcopy *.* \ /F /R /Y /S"/></task> |
|
151 <task><specialInstructions name="CopySPP_ABLD" cwd="\tools\ncp_tools\toolsmod_93" command="xcopy *.* \ /F /R /Y /S"/></task> |
|
152 <task><specialInstructions name="CopyNCP52Variation" cwd="\psw\ncp_psw\platform_psw\psw" command="xcopy *.* \ /F /R /Y /S"/></task> |
|
153 <task><specialInstructions name="CopyS6050Variation" cwd="\psw\s60_50_psw\psw" command="xcopy *.* \ /F /R /Y /S"/></task> |
|
154 <task><specialInstructions name="psw\s60_50_psw\52.50_psw" cwd="\psw\s60_50_psw\52.50_psw\psw" command="xcopy *.* \ /F /R /Y /S"/></task> |
|
155 </configuration> |
|
156 |
|
157 |
|
158 <configuration name="config2" description="config2" filter=""> |
|
159 <layerRef layerName="layer1" /> |
|
160 <task><buildLayer command="bldmake bldfiles" unitParallel="Y"/></task> |
|
161 <task><buildLayer command="abld export" unitParallel="Y"/></task> |
|
162 </configuration> |
|
163 |
|
164 <configuration name="config3" description="config3" filter="skip"> |
|
165 <layerRef layerName="layer1" /> |
|
166 <task><buildLayer command="bldmake bldfiles" unitParallel="Y"/></task> |
|
167 <task><buildLayer command="abld export" unitParallel="Y"/></task> |
|
168 </configuration> |
|
169 |
|
170 |
|
171 <unitList name="unitlist1"> |
|
172 <unitRef unit="unit1" /> |
|
173 <unitRef unit="unit2" /> |
|
174 <unitRef unit="unit3" /> |
|
175 </unitList> |
|
176 <configuration name="config4" description="config4" filter="skip"> |
|
177 <unitListRef unitList="unitlist1" /> |
|
178 <task><buildLayer command="bldmake bldfiles" unitParallel="Y"/></task> |
|
179 <task><buildLayer command="abld export" unitParallel="Y"/></task> |
|
180 <task><buildLayer command="abld build" targetList="default" unitParallel="Y"/></task> |
|
181 </configuration> |
|
182 |
|
183 </build> |
|
184 </SystemDefinition> |
|