|
1 <?xml version="1.0"?> |
|
2 <!DOCTYPE SystemDefinition [ |
|
3 <!ELEMENT SystemDefinition (systemModel?, build?)> |
|
4 <!ATTLIST SystemDefinition |
|
5 name CDATA #REQUIRED |
|
6 schema CDATA #REQUIRED |
|
7 > |
|
8 <!-- all paths are relative to the root of the source --> |
|
9 |
|
10 <!-- System Model Section of DTD --> |
|
11 <!ELEMENT systemModel (layer+)> |
|
12 |
|
13 <!ELEMENT layer (logicalset* | module*)*> |
|
14 <!-- Kernel Services, Base Services, OS Services, Etc --> |
|
15 <!ATTLIST layer |
|
16 name CDATA #REQUIRED |
|
17 levels CDATA #IMPLIED |
|
18 span CDATA #IMPLIED |
|
19 > |
|
20 |
|
21 <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*> |
|
22 <!-- Generic OS services, Comms Services, etc --> |
|
23 <!ATTLIST logicalset |
|
24 name CDATA #REQUIRED |
|
25 > |
|
26 |
|
27 <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*> |
|
28 <!-- Telephony services, Networking Services, etc --> |
|
29 <!ATTLIST logicalsubset |
|
30 name CDATA #REQUIRED |
|
31 > |
|
32 |
|
33 <!ELEMENT module (component* | unit* | package* | prebuilt*)*> |
|
34 <!-- Screen Driver, Content Handling, etc --> |
|
35 <!ATTLIST module |
|
36 name CDATA #REQUIRED |
|
37 level CDATA #IMPLIED |
|
38 > |
|
39 |
|
40 <!ELEMENT component (unit* | package* | prebuilt*)*> |
|
41 <!-- units or packages --> |
|
42 <!ATTLIST component |
|
43 name CDATA #REQUIRED |
|
44 > |
|
45 |
|
46 <!ELEMENT unit EMPTY > |
|
47 <!-- must be buildable (bld.inf) --> |
|
48 <!-- bldFile will soon be removed in favour of mrp --> |
|
49 <!ATTLIST unit |
|
50 unitID ID #REQUIRED |
|
51 name CDATA #REQUIRED |
|
52 mrp CDATA #REQUIRED |
|
53 filter CDATA #IMPLIED |
|
54 bldFile CDATA #REQUIRED |
|
55 priority CDATA #IMPLIED |
|
56 contract CDATA #IMPLIED |
|
57 > |
|
58 |
|
59 <!ELEMENT package EMPTY > |
|
60 <!-- like a unit, but not buildable --> |
|
61 <!ATTLIST package |
|
62 name CDATA #REQUIRED |
|
63 mrp CDATA #REQUIRED |
|
64 filter CDATA #IMPLIED |
|
65 contract CDATA #IMPLIED |
|
66 > |
|
67 |
|
68 <!ELEMENT prebuilt EMPTY> |
|
69 <!-- pre-built CBR component --> |
|
70 <!ATTLIST prebuilt |
|
71 name CDATA #REQUIRED |
|
72 version CDATA #REQUIRED |
|
73 late (Y|N) #IMPLIED |
|
74 filter CDATA #IMPLIED |
|
75 contract CDATA #IMPLIED |
|
76 > |
|
77 |
|
78 |
|
79 |
|
80 <!-- Build Section of DTD --> |
|
81 <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*> |
|
82 |
|
83 <!ELEMENT unitList (unitRef+)> |
|
84 <!-- e.g. common, beech, cedar, etc --> |
|
85 <!ATTLIST unitList |
|
86 name ID #REQUIRED |
|
87 description CDATA #REQUIRED |
|
88 > |
|
89 |
|
90 <!ELEMENT unitRef EMPTY> |
|
91 <!-- Reference to unit in System Model --> |
|
92 <!ATTLIST unitRef |
|
93 unit IDREF #REQUIRED |
|
94 > |
|
95 |
|
96 <!ELEMENT targetList EMPTY> |
|
97 <!-- e.g. DEFAULT_7.0S, TOOLS_7.0S, etc --> |
|
98 <!ATTLIST targetList |
|
99 name ID #REQUIRED |
|
100 description CDATA #REQUIRED |
|
101 target IDREFS #REQUIRED |
|
102 > |
|
103 |
|
104 <!ELEMENT target EMPTY> |
|
105 <!-- e.g. WINS, WINSCW, ARM4, etc --> |
|
106 <!ATTLIST target |
|
107 name ID #REQUIRED |
|
108 abldTarget CDATA #REQUIRED |
|
109 description CDATA #REQUIRED |
|
110 > |
|
111 |
|
112 <!ELEMENT option EMPTY> |
|
113 <!-- e.g. Keepgoing, SaveSpace, etc --> |
|
114 <!ATTLIST option |
|
115 name ID #REQUIRED |
|
116 abldOption CDATA #REQUIRED |
|
117 description CDATA #REQUIRED |
|
118 enable (Y | N | y | n) #REQUIRED |
|
119 > |
|
120 |
|
121 <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*> |
|
122 <!-- 7.0s, 8.0a, 8.0b, cuskit, etc --> |
|
123 <!ATTLIST configuration |
|
124 name ID #REQUIRED |
|
125 description CDATA #REQUIRED |
|
126 filter CDATA #REQUIRED |
|
127 > |
|
128 <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))> |
|
129 |
|
130 <!ELEMENT unitListRef EMPTY> |
|
131 <!-- Reference to unitList --> |
|
132 <!ATTLIST unitListRef |
|
133 unitList IDREF #REQUIRED |
|
134 > |
|
135 |
|
136 <!ELEMENT layerRef EMPTY> |
|
137 <!-- Reference to named entity in the model, usually a layer --> |
|
138 <!ATTLIST layerRef |
|
139 layerName CDATA #REQUIRED |
|
140 > |
|
141 |
|
142 <!ELEMENT buildLayer EMPTY> |
|
143 <!-- bldmake, abld export, etc --> |
|
144 <!ATTLIST buildLayer |
|
145 command CDATA #REQUIRED |
|
146 targetList IDREFS #IMPLIED |
|
147 unitParallel (Y | N | y | n) #REQUIRED |
|
148 targetParallel (Y | N | y | n) #IMPLIED |
|
149 > |
|
150 |
|
151 <!ELEMENT specialInstructions EMPTY> |
|
152 <!-- BootStrap --> |
|
153 <!ATTLIST specialInstructions |
|
154 name CDATA #REQUIRED |
|
155 cwd CDATA #REQUIRED |
|
156 command CDATA #REQUIRED |
|
157 > |
|
158 |
|
159 ]> |
|
160 |
|
161 <SystemDefinition name="IpVideo" schema="1.48"> |
|
162 |
|
163 <systemModel> |
|
164 <layer name="IpVideo layer"> |
|
165 <module name="IpVideo module"> |
|
166 <unit unitID="IpVideo" name="IpVideo" bldFile="IpVideo\group" mrp=""/> |
|
167 </module> |
|
168 </layer> |
|
169 </systemModel> |
|
170 |
|
171 <build> |
|
172 <option name="KEEPGOING" abldOption="-keepgoing" description="Causes make to keepgoing on errors" enable="Y"/> |
|
173 <option name="SAVESPACE" abldOption="-savespace" description="Causes the removal of intermediate files" enable="Y"/> |
|
174 <target name="ARMV5" abldTarget="armv5" description="RVCT Compiler"/> |
|
175 |
|
176 <targetList name="default" description="Main Targets" target="ARMV5"/> |
|
177 |
|
178 <unitList name="IpVideo_list" description=""> |
|
179 <unitRef unit="IpVideo"/> |
|
180 </unitList> |
|
181 |
|
182 <configuration name="IpVideo_config" description="Build IpVideo" filter=""> |
|
183 |
|
184 <unitListRef unitList="IpVideo_list"/> |
|
185 |
|
186 <task><buildLayer command="bldmake bldfiles" unitParallel="Y"/></task> |
|
187 <task><buildLayer command="abld export" unitParallel="Y"/></task> |
|
188 <task><buildLayer command="abld makefile" targetList="default" unitParallel="Y" targetParallel="N"/></task> |
|
189 <task><buildLayer command="abld resource" targetList="default" unitParallel="N" targetParallel="N"/></task> |
|
190 <task><buildLayer command="abld library" targetList="default" unitParallel="N" targetParallel="N"/></task> |
|
191 <task><buildLayer command="abld target" targetList="default" unitParallel="Y" targetParallel="Y"/></task> |
|
192 <task><buildLayer command="abld final" targetList="default" unitParallel="N" targetParallel="N"/></task> |
|
193 <task><buildLayer command="abld -what export" unitParallel="Y"/></task> |
|
194 <task><buildLayer command="abld -what target" targetList="default" unitParallel="Y" targetParallel="Y"/></task> |
|
195 <task><buildLayer command="abld help" unitParallel="Y"/></task> |
|
196 <task><buildLayer command="abld -check build" targetList="default" unitParallel="Y" targetParallel="Y"/></task> |
|
197 </configuration> |
|
198 |
|
199 </build> |
|
200 </SystemDefinition> |
|
201 |