Revert "PRSDK-5267 Add support to enable SMP mode"
[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 C674 = xdc.useModule('ti.targets.C674');
9 var C64P_ELF = xdc.useModule('ti.targets.elf.C64P');
10 var C674_ELF = xdc.useModule('ti.targets.elf.C674');
11 var C66 = xdc.useModule('ti.targets.elf.C66');
12 var C66e = xdc.useModule('ti.targets.elf.C66_big_endian');
13 var Arm = xdc.useModule('ti.targets.arm.elf.Arm9');
14 //var C64T_ELF = xdc.useModule('ti.targets.elf.C64T');
15 var M3 = xdc.useModule('ti.targets.arm.elf.M3');
17 /* compiler paths for the CCS4.0                   */
18 var cgtools = java.lang.System.getenv("CGTOOLS");
19 var cgtools_elf = java.lang.System.getenv("CGTOOLS_ELF");
20 var armcgtools = java.lang.System.getenv("TMS470_CGTOOLS");
22 C64P.rootDir = cgtools;
23 C674.rootDir = cgtools;
24 C64P_ELF.rootDir = cgtools_elf;
25 //C64T_ELF.rootDir = cgtools_elf;
26 C674_ELF.rootDir = cgtools_elf;
27 C66.rootDir = cgtools_elf;
28 C66e.rootDir = cgtools_elf;
29 Arm.rootDir = armcgtools;
30 M3.rootDir = armcgtools;
32 /**********************************c674******************************/
34 /* compiler options                                */
35 C64P.ccOpts.suffix += " -mi10 -mo ";
36 C674.ccOpts.suffix += " -mi10 -mo ";
37 C64P_ELF.ccOpts.suffix += " -mi10 -mo ";
38 //C64T_ELF.ccOpts.suffix += " -mi10 -mo ";
39 C674_ELF.ccOpts.suffix += " -mi10 -mo ";
40 C66.ccOpts.suffix += " -mi10 -mo --mem_model:data=far ";
41 C66e.ccOpts.suffix += " -mi10 -mo -me --mem_model:data=far ";
42 Arm.ccOpts.suffix += " ";
43 M3.ccOpts.suffix += "";
45 /* set default platform and list of all interested platforms */
46 C64P.platforms = [
47                      "ti.platforms.evm6472",
48                      "ti.platforms.evmTCI6486",
49                  ];
50 C674.platforms = [
51                      "ti.platforms.evmDA830",
52                      "ti.platforms.evm6748",
53                      "ti.platforms.evmOMAPL137",
54                      "ti.platforms.evmOMAPL138",
55                      "ti.platforms.simDM8168",
56                      "ti.platforms.evmDM8168",
57                      "ti.platforms.evmDM8148",
58                  ];
59 C64P_ELF.platforms = [
60                      "ti.platforms.evm6472",
61                      "ti.platforms.evmTCI6486",
62                  ];
63 //C64T_ELF.platforms = [
64 //                     "ti.platforms.sdp4430",
65 //                 ];
66 C674_ELF.platforms = [
67                      "ti.platforms.evmDA830",
68                      "ti.platforms.evm6748",
69                      "ti.platforms.evmOMAPL137",
70                      "ti.platforms.evmOMAPL138",
71                      "ti.platforms.simDM8168",
72                      "ti.platforms.evmDM8168",
73                      "ti.platforms.evmDM8148",
74                  ];
75 C66.platforms = [
76                      "ti.platforms.simTCI6608",
77                      "ti.platforms.simTCI6616",
78                      "ti.platforms.simTCI6614",
79                      "ti.platforms.simC6657",
80                      "ti.platforms.simKepler",
81                      "ti.platforms.evm6670",
82                      "ti.platforms.evm6678",
83                      "ti.platforms.evmTCI6614",
84                      "ti.platforms.evm6657",
85                      "ti.platforms.evmTCI6638K2K",
86                      "ti.platforms.evmTCI6636K2H",
87                      "ti.platforms.evmTCI6630K2L",
88                      "ti.platforms.evmC66AK2E",
89                      "ti.platforms.evmTCI66AK2G02",
90                  ];
91 C66e.platforms = [
92                      "ti.platforms.simTCI6608",
93                      "ti.platforms.simTCI6616",
94                      "ti.platforms.simTCI6614",
95                      "ti.platforms.simC6657",
96                      "ti.platforms.simKepler",
97                      "ti.platforms.evm6670",
98                      "ti.platforms.evm6678",
99                      "ti.platforms.evmTCI6614",
100                      "ti.platforms.evm6657",
101                      "ti.platforms.evmTCI6638K2K",
102                      "ti.platforms.evmTCI6636K2H",
103                      "ti.platforms.evmTCI66AK2G02",
104                  ];
105 Arm.platforms = [
106                      "ti.platforms.evmOMAPL137",
107                      "ti.platforms.evmOMAPL138",
108                      "ti.platforms.evmAM437X",
109                  ];
111 M3.platforms = [
112                      "ti.platforms.evmTI816X",
113                  ];
115 /* select the default platform */
116 C64P.platform = C64P.platforms[0];
117 C674.platform = C674.platforms[0];
118 C64P_ELF.platform = C64P_ELF.platforms[0];
119 //C64T_ELF.platform = C64T_ELF.platforms[0];
120 C674_ELF.platform = C674_ELF.platforms[0];
121 C66.platform = C66.platforms[0];
122 C66e.platform = C66e.platforms[0];
123 Arm.platform = Arm.platforms[0];
124 M3.platform = M3.platforms[0];
126 /* list interested targets in Build.targets array  */
127 Build.targets = [
128                    //C64T_ELF,
129                     //C64,
130                     C64P,
131                     //C67P,
132                     C674,
133                     C64P_ELF,
134                     C674_ELF,
135                     C66,
136                     C66e,
137                     Arm,
138                     M3,
139                   //Win32,
140                 ];