]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blob - packages/config.bld
02d9c01f05790b50baf4e1a66d3c5536bf6a667c
[keystone-rtos/edma3_lld.git] / packages / config.bld
1 /*
2  *  ======== config.bld ========
3  *  Sample Build configuration script
4  */
6 /* load the required modules for the configuration */
7 var C64P = xdc.useModule('ti.targets.C64P');
8 var C64Pe = xdc.useModule('ti.targets.C64P_big_endian');
9 var C674 = xdc.useModule('ti.targets.C674');
10 var C64P_ELF = xdc.useModule('ti.targets.elf.C64P');
11 var C64Pe_ELF = xdc.useModule('ti.targets.elf.C64P_big_endian');
12 var C674_ELF = xdc.useModule('ti.targets.elf.C674');
13 var C66 = xdc.useModule('ti.targets.elf.C66');
14 var C66e = xdc.useModule('ti.targets.elf.C66_big_endian');
15 var Arm = xdc.useModule('ti.targets.arm.elf.Arm9');
16 var cortexA8 = xdc.useModule('ti.targets.arm.elf.A8F');
18 /* compiler paths for the CCS4.0                   */
19 var cgtools = java.lang.System.getenv("CGTOOLS");
20 var cgtools_elf = java.lang.System.getenv("CGTOOLS_ELF");
21 var armcgtools = java.lang.System.getenv("TMS470_CGTOOLS");
23 C64P.rootDir = cgtools;
24 C64Pe.rootDir = cgtools;
25 C674.rootDir = cgtools;
26 C64P_ELF.rootDir = cgtools_elf;
27 C64Pe_ELF.rootDir = cgtools_elf;
28 C674_ELF.rootDir = cgtools_elf;
29 C66.rootDir = cgtools_elf;
30 C66e.rootDir = cgtools_elf;
31 Arm.rootDir = armcgtools;
32 cortexA8.rootDir = armcgtools;
34 /**********************************c674******************************/
36 /* compiler options                                */
37 C64P.ccOpts.suffix += " -mi10 -mo ";
38 C64Pe.ccOpts.suffix += " -mi10 -mo -me ";
39 C674.ccOpts.suffix += " -mi10 -mo ";
40 C64P_ELF.ccOpts.suffix += " -mi10 -mo ";
41 C64Pe_ELF.ccOpts.suffix += " -mi10 -mo -me ";
42 C674_ELF.ccOpts.suffix += " -mi10 -mo ";
43 C66.ccOpts.suffix += " -mi10 -mo ";
44 C66e.ccOpts.suffix += " -mi10 -mo -me ";
45 Arm.ccOpts.suffix += " ";
46 cortexA8.ccOpts.suffix += "";
49 /* set default platform and list of all interested platforms */
50 C64P.platforms = [
51                      "ti.platforms.simTCI6498",
52                      "ti.platforms.evm6472",
53                      "ti.platforms.evmTCI6486",
54                  ];
55 C64Pe.platforms = [
56                      "ti.platforms.simTCI6498",
57                      "ti.platforms.evm6472",
58                      "ti.platforms.evmTCI6486",
59                  ];
60 C674.platforms = [
61                      "ti.platforms.evmDA830",
62                      "ti.platforms.evm6748",
63                      "ti.platforms.evmOMAPL138",
64                      "ti.platforms.simDM8168",
65                      "ti.platforms.evmDM8168",
66                      "ti.platforms.evmDM8148",
67                  ];
68 C64P_ELF.platforms = [
69                      "ti.platforms.simTCI6498",
70                      "ti.platforms.evm6472",
71                      "ti.platforms.evmTCI6486",
72                  ];
73 C64Pe_ELF.platforms = [
74                      "ti.platforms.simTCI6498",
75                      "ti.platforms.evm6472",
76                      "ti.platforms.evmTCI6486",
77                  ];
78 C674_ELF.platforms = [
79                      "ti.platforms.evmDA830",
80                      "ti.platforms.evm6748",
81                      "ti.platforms.evmOMAPL138",
82                      "ti.platforms.simDM8168",
83                      "ti.platforms.evmDM8168",
84                      "ti.platforms.evmDM8148",
85                  ];
86 C66.platforms = [
87                      /*empty*/
88                  ];
89 C66e.platforms = [
90                      /*empty*/
91                  ];
92 Arm.platforms = [
93                      "ti.platforms.evmOMAPL138",
94                  ];
96 cortexA8.platforms = [
97                          "ti.platforms.evmDM8148",
98                      ];
100 /* select the default platform */
101 C64P.platform = C64P.platforms[0];
102 C64Pe.platform = C64Pe.platforms[0];
103 C674.platform = C674.platforms[0];
104 C64P_ELF.platform = C64P_ELF.platforms[0];
105 C64Pe_ELF.platform = C64Pe_ELF.platforms[0];
106 C674_ELF.platform = C674_ELF.platforms[0];
107 C66.platform = null;
108 C66e.platform = null;
109 Arm.platform = Arm.platforms[0];
110 cortexA8.platform = cortexA8.platforms[0];
112 /* list interested targets in Build.targets array  */
113 Build.targets = [
114                     //C64,
115                     C64P,
116                     C64Pe,
117                     //C67P,
118                     C674,
119                     C64P_ELF,
120                     C64Pe_ELF,
121                     C674_ELF,
122                     //C66,
123                     //C66e,
124                     Arm,
125                     cortexA8,
126                   //Win32,
127                 ];