]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blob - packages/config.bld
Added ELF support for C66x (both LE and BE) in the Generic library of RM
[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 C66 = xdc.useModule('ti.targets.elf.C66');
11 var C66e = xdc.useModule('ti.targets.elf.C66_big_endian');
12 var Arm = xdc.useModule('ti.targets.arm.elf.Arm9');
14 /* compiler paths for the CCS4.0                   */
15 var cgtools = java.lang.System.getenv("CGTOOLS");
16 var cgtools_elf = java.lang.System.getenv("CGTOOLS_ELF");
17 var armcgtools = java.lang.System.getenv("TMS470_CGTOOLS");
19 C64P.rootDir = cgtools;
20 C64Pe.rootDir = cgtools;
21 C674.rootDir = cgtools;
22 C66.rootDir = cgtools_elf;
23 C66e.rootDir = cgtools_elf;
24 Arm.rootDir = armcgtools;
26 /**********************************c674******************************/
28 /* compiler options                                */
29 C64P.ccOpts.suffix += " -mi10 -mo ";
30 C64Pe.ccOpts.suffix += " -mi10 -mo -me ";
31 C674.ccOpts.suffix += " -mi10 -mo ";
32 C66.ccOpts.suffix += " -mi10 -mo ";
33 C66e.ccOpts.suffix += " -mi10 -mo -me ";
34 Arm.ccOpts.suffix += " ";
37 /* set default platform and list of all interested platforms */
38 C64P.platforms = [
39                      "ti.platforms.simTCI6498",
40                      "ti.platforms.evm6472",
41                      "ti.platforms.evmTCI6486",
42                  ];
43 C64Pe.platforms = [
44                      "ti.platforms.simTCI6498",
45                      "ti.platforms.evm6472",
46                      "ti.platforms.evmTCI6486",
47                  ];
48 C674.platforms = [
49                      "ti.platforms.evmDA830",
50                      "ti.platforms.evm6748",
51                      "ti.platforms.evmOMAPL138",
52                      "ti.platforms.simDM8168",
53                      "ti.platforms.evmDM8168",
54                      "ti.platforms.evmDM8148",
55                  ];
56 C66.platforms = [
57                      /*empty*/
58                  ];
59 C66e.platforms = [
60                      /*empty*/
61                  ];
62 Arm.platforms = [
63                      "ti.platforms.evmOMAPL138",
64                  ];
66 /* select the default platform */
67 C64P.platform = C64P.platforms[0];
68 C64Pe.platform = C64Pe.platforms[0];
69 C674.platform = C674.platforms[0];
70 C66.platform = null;
71 C66e.platform = null;
72 Arm.platform = Arm.platforms[0];
74 /* list interested targets in Build.targets array  */
75 Build.targets = [
76                     //C64,
77                     C64P,
78                     C64Pe,
79                     //C67P,
80                     C674,
81                     C66,
82                     C66e,
83                     Arm,
84                   //Win32,
85                 ];