C66AK2E: BIOS: Introduce support for C66AK2E
[ipc/ipcdev.git] / packages / ti / ipc / tests / package.bld
1 /*
2  * Copyright (c) 2012-2014, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * *  Redistributions of source code must retain the above copyright
10  *    notice, this list of conditions and the following disclaimer.
11  *
12  * *  Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * *  Neither the name of Texas Instruments Incorporated nor the names of
17  *    its contributors may be used to endorse or promote products derived
18  *    from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 /*
33  *  ======== package.bld ========
34  *
35  */
37 var Build = xdc.useModule('xdc.bld.BuildEnvironment');
38 var Pkg = xdc.useModule('xdc.bld.PackageContents');
40 Pkg.otherFiles = [ "mmrpc_test.c" ];
42 /* when constructing a release, release everything */
43 Pkg.attrs.exportAll = true;
45 /* Uncomment this to build the app with debug support */
46 Pkg.attrs.profile = "debug";
48 /* bin/ is a generated directory that 'xdc clean' should remove */
49 Pkg.generatedFiles.$add("bin/");
51 /* define the platform instances we support */
52 /* OMAPL138 */
53 var evmOMAPL138_ExtMemMap = {
54     DDR: {
55         name: "DDR",
56         base: 0xc3100000,
57         len:  0x00800000,
58         space: "code/data"
59     }
60 };
62 Build.platformTable["ti.platforms.evmOMAPL138:DSP"] = {
63     externalMemoryMap: [
64         [ "DDR", evmOMAPL138_ExtMemMap.DDR ]
65     ],
66     codeMemory: "DDR",
67     dataMemory: "DDR",
68     stackMemory: "DDR",
69     l2Mode: "32k"
70 };
72 /*  Memory Map for ti.platforms.sdp5430:IPU
73  *
74  *  --- External Memory ---
75  *  Virtual     Physical        Size            Comment
76  *  ------------------------------------------------------------------------
77  *  0000_4000   ????_????    5F_C000  (  ~6 MB) EXT_CODE
78  *  8000_0000   ????_????    60_0000  (   6 MB) EXT_DATA
79  *  8060_0000   ????_????   960_0000  (  86 MB) EXT_HEAP
80  *  9F00_0000   9F00_0000     6_0000  ( 384 kB) TRACE_BUF
81  *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
82  *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
83  */
84 var sdp5430_ExtMemMapIpu = {
85     EXT_CODE: {
86         name: "EXT_CODE",
87         base: 0x00004000,
88         len:  0x005FC000,
89         space: "code",
90         access: "RWX"
91     },
92     EXT_DATA: {
93         name: "EXT_DATA",
94         base: 0x80000000,
95         len:  0x00600000,
96         space: "data",
97         access: "RW"
98     },
99     EXT_HEAP: {
100         name: "EXT_HEAP",
101         base: 0x80600000,
102         len:  0x09600000,
103         space: "data",
104         access: "RW"
105     },
106     TRACE_BUF: {
107         name: "TRACE_BUF",
108         base: 0x9F000000,
109         len:  0x00060000,
110         space: "data",
111         access: "RW"
112     },
113     EXC_DATA: {
114         name: "EXC_DATA",
115         base: 0x9F060000,
116         len:  0x00010000,
117         space: "data",
118         access: "RW"
119     },
120     PM_DATA: {
121         name: "PM_DATA",
122         base: 0x9F070000,
123         len:  0x00020000,
124         space: "data",
125         access: "RWX"  /* should this have execute perm? */
126     }
127 };
129 Build.platformTable["ti.platforms.sdp5430:IPU"] = {
130     externalMemoryMap: [
131         [ "EXT_CODE", sdp5430_ExtMemMapIpu.EXT_CODE ],
132         [ "EXT_DATA", sdp5430_ExtMemMapIpu.EXT_DATA ],
133         [ "EXT_HEAP", sdp5430_ExtMemMapIpu.EXT_HEAP ],
134         [ "TRACE_BUF", sdp5430_ExtMemMapIpu.TRACE_BUF ],
135         [ "EXC_DATA", sdp5430_ExtMemMapIpu.EXC_DATA ],
136         [ "PM_DATA", sdp5430_ExtMemMapIpu.PM_DATA ]
137     ],
138     codeMemory: "EXT_CODE",
139     dataMemory: "EXT_DATA",
140     stackMemory: "EXT_DATA",
141 };
143 /*  Memory Map for ti.platforms.sdp5430:DSP
144  *
145  *  --- External Memory ---
146  *  Virtual     Physical        Size            Comment
147  *  ------------------------------------------------------------------------
148  *  2000_0000   ????_????    10_0000  (   1 MB) EXT_CODE
149  *  9000_0000   ????_????    10_0000  (   1 MB) EXT_DATA
150  *  9010_0000   ????_????    30_0000  (   3 MB) EXT_HEAP
151  *  9F00_0000   9F00_0000     6_0000  ( 384 kB) TRACE_BUF
152  *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
153  *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
154  */
155 var sdp5430_ExtMemMapDsp = {
156     EXT_CODE: {
157         name: "EXT_CODE",
158         base: 0x20000000,
159         len:  0x00100000,
160         space: "code",
161         access: "RWX"
162     },
163     EXT_DATA: {
164         name: "EXT_DATA",
165         base: 0x90000000,
166         len:  0x00100000,
167         space: "data",
168         access: "RW"
169     },
170     EXT_HEAP: {
171         name: "EXT_HEAP",
172         base: 0x90100000,
173         len:  0x00300000,
174         space: "data",
175         access: "RW"
176     },
177     TRACE_BUF: {
178         name: "TRACE_BUF",
179         base: 0x9F000000,
180         len:  0x00060000,
181         space: "data",
182         access: "RW"
183     },
184     EXC_DATA: {
185         name: "EXC_DATA",
186         base: 0x9F060000,
187         len:  0x00010000,
188         space: "data",
189         access: "RW"
190     },
191     PM_DATA: {
192         name: "PM_DATA",
193         base: 0x9F070000,
194         len:  0x00020000,
195         space: "data",
196         access: "RWX"  /* should this have execute perm? */
197     }
198 };
200 Build.platformTable["ti.platforms.sdp5430:DSP"] = {
201     externalMemoryMap: [
202         [ "EXT_CODE", sdp5430_ExtMemMapDsp.EXT_CODE ],
203         [ "EXT_DATA", sdp5430_ExtMemMapDsp.EXT_DATA ],
204         [ "EXT_HEAP", sdp5430_ExtMemMapDsp.EXT_HEAP ],
205         [ "TRACE_BUF", sdp5430_ExtMemMapDsp.TRACE_BUF ],
206         [ "EXC_DATA", sdp5430_ExtMemMapDsp.EXC_DATA ],
207         [ "PM_DATA", sdp5430_ExtMemMapDsp.PM_DATA ]
208     ],
209     codeMemory: "EXT_CODE",
210     dataMemory: "EXT_DATA",
211     stackMemory: "EXT_DATA",
212 };
214 /* Shared region definition used in GateMP app */
215 var evmDRA7XX_SR_0 = {
216         name: "SR_0", space: "data", access: "RWX",
217         base: 0xBFC00000, len: 0x100000,
218         comment: "SR#0 Memory (1 MB)"
219 };
221 /*  Memory Map for ti.platforms.evmDRA7XX:dsp1 and ti.platforms.evmDRA7XX:dsp2
222  *
223  *  --- External Memory ---
224  *  Virtual     Physical        Size            Comment
225  *  ------------------------------------------------------------------------
226  *  9500_4000   ????_????    10_0000  (  ~1 MB) EXT_CODE
227  *  9510_0000   ????_????    10_0000  (   1 MB) EXT_DATA
228  *  9520_0000   ????_????    30_0000  (   3 MB) EXT_HEAP
229  *  9F00_0000   9F00_0000     6_0000  ( 384 kB) TRACE_BUF
230  *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
231  *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
232  */
233 var evmDRA7XX_ExtMemMapDsp = {
234     EXT_CODE: {
235         name: "EXT_CODE",
236         base: 0x95000000,
237         len:  0x00100000,
238         space: "code",
239         access: "RWX"
240     },
241     EXT_DATA: {
242         name: "EXT_DATA",
243         base: 0x95100000,
244         len:  0x00100000,
245         space: "data",
246         access: "RW"
247     },
248     EXT_HEAP: {
249         name: "EXT_HEAP",
250         base: 0x95200000,
251         len:  0x00300000,
252         space: "data",
253         access: "RW"
254     },
255     TRACE_BUF: {
256         name: "TRACE_BUF",
257         base: 0x9F000000,
258         len:  0x00060000,
259         space: "data",
260         access: "RW"
261     },
262     EXC_DATA: {
263         name: "EXC_DATA",
264         base: 0x9F060000,
265         len:  0x00010000,
266         space: "data",
267         access: "RW"
268     },
269     PM_DATA: {
270         name: "PM_DATA",
271         base: 0x9F070000,
272         len:  0x00020000,
273         space: "data",
274         access: "RWX"  /* should this have execute perm? */
275     },
276     SR_0: {
277         name: evmDRA7XX_SR_0.name,
278         base: evmDRA7XX_SR_0.base,
279         len:  evmDRA7XX_SR_0.len,
280         space: "data",
281         access: "RW"
282     }
283 };
285 Build.platformTable["ti.platforms.evmDRA7XX:dsp1"] = {
286     externalMemoryMap: [
287         [ "EXT_CODE", evmDRA7XX_ExtMemMapDsp.EXT_CODE ],
288         [ "EXT_DATA", evmDRA7XX_ExtMemMapDsp.EXT_DATA ],
289         [ "EXT_HEAP", evmDRA7XX_ExtMemMapDsp.EXT_HEAP ],
290         [ "TRACE_BUF", evmDRA7XX_ExtMemMapDsp.TRACE_BUF ],
291         [ "EXC_DATA", evmDRA7XX_ExtMemMapDsp.EXC_DATA ],
292         [ "PM_DATA", evmDRA7XX_ExtMemMapDsp.PM_DATA ],
293         [ evmDRA7XX_SR_0.name, evmDRA7XX_ExtMemMapDsp.SR_0 ],
294     ],
295     codeMemory: "EXT_CODE",
296     dataMemory: "EXT_DATA",
297     stackMemory: "EXT_DATA",
298 };
299 Build.platformTable["ti.platforms.evmDRA7XX:dsp2"] =
300         Build.platformTable["ti.platforms.evmDRA7XX:dsp1"];
304 /*  Memory Map for ti.platforms.evmDRA7XX:ipu2
305  *
306  *  --- External Memory ---
307  *  Virtual     Physical        Size            Comment
308  *  ------------------------------------------------------------------------
309  *  0000_4000   ????_????    5F_C000  (  ~6 MB) EXT_CODE
310  *  8000_0000   ????_????    60_0000  (   6 MB) EXT_DATA
311  *  8060_0000   ????_????   960_0000  (  86 MB) EXT_HEAP
312  *  9F00_0000   9F00_0000     6_0000  ( 384 kB) TRACE_BUF
313  *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
314  *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
315  */
316 var evmDRA7XX_ExtMemMapIpu2 = {
317     EXT_CODE: {
318         name: "EXT_CODE",
319         base: 0x00004000,
320         len:  0x005FC000,
321         space: "code",
322         access: "RWX"
323     },
324     EXT_DATA: {
325         name: "EXT_DATA",
326         base: 0x80000000,
327         len:  0x00600000,
328         space: "data",
329         access: "RW"
330     },
331     EXT_HEAP: {
332         name: "EXT_HEAP",
333         base: 0x80600000,
334         len:  0x09600000,
335         space: "data",
336         access: "RW"
337     },
338     TRACE_BUF: {
339         name: "TRACE_BUF",
340         base: 0x9F000000,
341         len:  0x00060000,
342         space: "data",
343         access: "RW"
344     },
345     EXC_DATA: {
346         name: "EXC_DATA",
347         base: 0x9F060000,
348         len:  0x00010000,
349         space: "data",
350         access: "RW"
351     },
352     PM_DATA: {
353         name: "PM_DATA",
354         base: 0x9F070000,
355         len:  0x00020000,
356         space: "data",
357         access: "RWX"  /* should this have execute perm? */
358     }
359 };
361 Build.platformTable["ti.platforms.evmDRA7XX:ipu2"] = {
362     externalMemoryMap: [
363         [ "EXT_CODE", evmDRA7XX_ExtMemMapIpu2.EXT_CODE ],
364         [ "EXT_DATA", evmDRA7XX_ExtMemMapIpu2.EXT_DATA ],
365         [ "EXT_HEAP", evmDRA7XX_ExtMemMapIpu2.EXT_HEAP ],
366         [ "TRACE_BUF", evmDRA7XX_ExtMemMapIpu2.TRACE_BUF ],
367         [ "EXC_DATA", evmDRA7XX_ExtMemMapIpu2.EXC_DATA ],
368         [ "PM_DATA", evmDRA7XX_ExtMemMapIpu2.PM_DATA ]
369     ],
370     codeMemory: "EXT_CODE",
371     dataMemory: "EXT_DATA",
372     stackMemory: "EXT_DATA",
373 };
375 /*  Memory Map for ti.platforms.evmDRA7XX:ipu1
376  *
377  *  --- External Memory ---
378  *  Virtual     Physical        Size            Comment
379  *  ------------------------------------------------------------------------
380  *  0000_4000   ????_????     F_C000  (  ~1 MB) EXT_CODE
381  *  8000_0000   ????_????    20_0000  (   2 MB) EXT_DATA
382  *  8020_0000   ????_????    30_0000  (   3 MB) EXT_HEAP
383  *  9F00_0000   9F00_0000     6_0000  ( 384 kB) TRACE_BUF
384  *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
385  *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
386  */
387 var evmDRA7XX_ExtMemMapIpu1 = {
388     EXT_CODE: {
389         name: "EXT_CODE",
390         base: 0x00004000,
391         len:  0x000FC000,
392         space: "code",
393         access: "RWX"
394     },
395     EXT_DATA: {
396         name: "EXT_DATA",
397         base: 0x80000000,
398         len:  0x00200000,
399         space: "data",
400         access: "RW"
401     },
402     EXT_HEAP: {
403         name: "EXT_HEAP",
404         base: 0x80200000,
405         len:  0x00300000,
406         space: "data",
407         access: "RW"
408     },
409     TRACE_BUF: {
410         name: "TRACE_BUF",
411         base: 0x9F000000,
412         len:  0x00060000,
413         space: "data",
414         access: "RW"
415     },
416     EXC_DATA: {
417         name: "EXC_DATA",
418         base: 0x9F060000,
419         len:  0x00010000,
420         space: "data",
421         access: "RW"
422     },
423     PM_DATA: {
424         name: "PM_DATA",
425         base: 0x9F070000,
426         len:  0x00020000,
427         space: "data",
428         access: "RWX"  /* should this have execute perm? */
429     }
430 };
432 Build.platformTable["ti.platforms.evmDRA7XX:ipu1"] = {
433     externalMemoryMap: [
434         [ "EXT_CODE", evmDRA7XX_ExtMemMapIpu1.EXT_CODE ],
435         [ "EXT_DATA", evmDRA7XX_ExtMemMapIpu1.EXT_DATA ],
436         [ "EXT_HEAP", evmDRA7XX_ExtMemMapIpu1.EXT_HEAP ],
437         [ "TRACE_BUF", evmDRA7XX_ExtMemMapIpu1.TRACE_BUF ],
438         [ "EXC_DATA", evmDRA7XX_ExtMemMapIpu1.EXC_DATA ],
439         [ "PM_DATA", evmDRA7XX_ExtMemMapIpu1.PM_DATA ]
440     ],
441     codeMemory: "EXT_CODE",
442     dataMemory: "EXT_DATA",
443     stackMemory: "EXT_DATA",
444 };
446 for (var i = 0; i < Build.targets.length; i++) {
447     var targ = Build.targets[i];
449 //    print("building for target " + targ.name + " ...");
451     /* currently only build for OMAPL138, Keystone II, OMAP5, and Vayu*/
452     if (!((targ.isa == "674") || (targ.isa == "66") ||
453           (targ.isa.match(/v7M(|4)/)) || (targ.isa == "64T"))) {
454         continue;
455     }
457     /* Platforms were added to targ.platforms[] in config.bld */
458     for (var j = 0; j < targ.platforms.length; j++) {
459         var platform = targ.platforms[j];
461         /* currently only build for OMAPL138, Keystone II, OMAP5, and Vayu*/
462         if (!((platform.match(/^ti\.platforms\.evm6614\:DSP/)) ||
463               (platform.match(/^ti\.platforms\.simKepler/)) ||
464               (platform.match(/^ti.platforms.evmC66AK2E/)) ||
465               (platform.match(/^ti.platforms.evmTCI6630K2L/)) ||
466               (platform.match(/^ti.platforms.evmTCI6638K2K/)) ||
467               (platform.match(/^ti.platforms.evmTCI6636K2H/)) ||
468               (platform.match(/^ti\.platform\.omap54xx/)) ||
469               (platform.match(/^ti\.platforms\.sdp5430/)) ||
470               (platform.match(/^ti\.platform\.vayu/)) ||
471               (platform.match(/^ti\.platforms\.evmDRA7XX/)) ||
472               (platform.match(/\.platforms\.evmOMAPL138/)))) {
473              continue;
474         }
476         print("  platform:  " + platform);
477         // name = bin/platform/name.x+suffix
478         var name = "bin/" +
479                 // replace all ':' and '.' with '_' in platform name
480                 platform.replace(/\:/g, "_").replace(/\./g, "_");
482         var extraDefs = "";
484         /* Vayu and OMAP5 require MmRpc and therefore use RPMSG_NS_2_0 */
485         if (platform.match(/^ti\.platform\.vayu/) ||
486                 platform.match(/^ti\.platforms\.evmDRA7XX/) ||
487                 platform.match(/^ti\.platforms\.sdp5430/)) {
488             extraDefs = " -DRPMSG_NS_2_0";
489         }
491         /* ping_rpmsg */
492         Pkg.addExecutable(name + "/ping_rpmsg", targ, platform, {
493             cfgScript: "ping_rpmsg",
494             defs: extraDefs
495         }).addObjects(["ping_rpmsg.c"]);
497         /* ping_tasks */
498         Pkg.addExecutable(name + "/ping_tasks", targ, platform, {
499             cfgScript: "ping_rpmsg",
500             defs: extraDefs
501         }).addObjects(["ping_tasks.c", "ping_tasks_main.c"]);
503         /* gatempapp */
504         if (platform.match(/^ti\.platform\.vayu\.dsp1/) ||
505                 platform.match(/^ti\.platforms\.evmDRA7XX:dsp1$/)) {
506             Pkg.addExecutable(name + "/gatempapp", targ, platform, {
507                 cfgScript: "gatempapp",
508             }).addObjects(["gatempapp.c"]);
509         }
511         /* messageq_multicore - only for our homogeneous multicore platforms */
512         if (platform.match(/^ti\.platforms\.simKepler/) ||
513                 (platform.match(/^ti.platforms.evmTCI6630K2L/)) ||
514                 (platform.match(/^ti.platforms.evmTCI6638K2K/)) ||
515                 (platform.match(/^ti.platforms.evmTCI6636K2H/)) ||
516                 (platform.match(/^ti\.platforms\.evm6614\:DSP/))) {
517             Pkg.addExecutable(name + "/messageq_multicore", targ, platform, {
518                 cfgScript: "messageq_multicore",
519                 //defs: "-D TCI6614_v33"
520                 //defs: "-D TCI6614"
521                 defs: "-D TCI6638"
522             }).addObjects(["messageq_multicore.c"]);
524             Pkg.addExecutable(name + "/dual_transports", targ, platform, {
525                 cfgScript: "dual_transports",
526             }).addObjects(["dual_transports.c"]);
527         }
529         /* messageq_multi */
530         Pkg.addExecutable(name + "/messageq_multi", targ, platform, {
531             cfgScript: "rpmsg_transport",
532             defs: "-D BENCHMARK" + extraDefs
533         }).addObjects(["messageq_multi.c"]);
535         /* messageq_single */
536         Pkg.addExecutable(name + "/messageq_single", targ, platform, {
537             cfgScript: "rpmsg_transport",
538             defs: "-D BENCHMARK " + extraDefs
539         }).addObjects(["messageq_single.c"]);
541         /* NameServerApp */
542         Pkg.addExecutable(name + "/NameServerApp", targ, platform, {
543             cfgScript: "nameserverapp",
544         }).addObjects(["NameServerApp.c"]);
546         /* nano_test - demonstrates passing ptrs using CMEM */
547         if (platform.match(/^ti\.platforms\.evmOMAPL138\:DSP/)) {
548             Pkg.addExecutable(name + "/nano_test", targ, platform, {
549                 cfgScript: "rpmsg_transport"
550             }).addObjects(["nano_test.c"]);
551         }
553         var test_omx_SRCS = ["test_omx.c","ping_tasks.c","rpc_task.c",
554                 "MxServer.c"];
556         if (platform.match(/^ti\.platforms\.sdp5430/) &&
557                 (targ.isa == "v7M4")) {
558             Pkg.addExecutable(name + "/test_omx_ipu_omap5", targ, platform, {
559                 cfgScript: "test_omx_ipu_omap5",
560                 defs: "-D IPU -D OMAP5xxx -DRPMSG_NS_2_0"
561             }).addObjects(test_omx_SRCS);
562         }
564         if (platform.match(/^ti\.platforms\.sdp5430/) &&
565                 (targ.isa == "64T")) {
566             Pkg.addExecutable(name + "/test_omx_dsp_omap5", targ, platform, {
567                 cfgScript: "test_omx_dsp_omap5",
568                 defs: "-D DSP -D OMAP5xxx -DRPMSG_NS_2_0"
569             }).addObjects(test_omx_SRCS);
570         }
572         if (platform.match(/^ti\.platform\.vayu\.ipu1/) ||
573                 platform.match(/^ti\.platforms\.evmDRA7XX:ipu1$/)) {
574             Pkg.addExecutable(name + "/test_omx_ipu1_vayu", targ, platform, {
575                 cfgScript: "test_omx_ipu_vayu",
576                 defs: "-D IPU -D VAYU -DRPMSG_NS_2_0"
577             }).addObjects(test_omx_SRCS);
578         }
579         if (platform.match(/^ti\.platform\.vayu\.ipu2/) ||
580                 platform.match(/^ti\.platforms\.evmDRA7XX:ipu2$/)) {
581             Pkg.addExecutable(name + "/test_omx_ipu2_vayu", targ, platform, {
582                 cfgScript: "test_omx_ipu_vayu",
583                 defs: "-D IPU -D VAYU -DRPMSG_NS_2_0"
584             }).addObjects(test_omx_SRCS);
585         }
587         if (platform.match(/^ti\.platform\.vayu/) ||
588                 platform.match(/^ti\.platforms\.evmDRA7XX:dsp1$/)) {
589             Pkg.addExecutable(name + "/test_omx_dsp1_vayu", targ, platform, {
590                 cfgScript: "test_omx_dsp_vayu",
591                 defs: "-D DSP -D VAYU -DRPMSG_NS_2_0"
592             }).addObjects(test_omx_SRCS);
593         }
594         if (platform.match(/^ti\.platform\.vayu/) ||
595                 platform.match(/^ti\.platforms\.evmDRA7XX:dsp2$/)) {
596             Pkg.addExecutable(name + "/test_omx_dsp2_vayu", targ, platform, {
597                 cfgScript: "test_omx_dsp_vayu",
598                 defs: "-D DSP -D VAYU -DRPMSG_NS_2_0"
599             }).addObjects(test_omx_SRCS);
600         }
601     }