add files to build ducati (m3) side firmware
[gstreamer-omap:ndecs-libdce.git] / ducati / build / config.bld
1 \r
2 var Build = xdc.useModule('xdc.bld.BuildEnvironment');\r
3 \r
4 var commonBld = xdc.loadCapsule("ducati/build/common.bld");\r
5 var commonOpts = "-g";\r
6 \r
7 xdc.loadCapsule("ducatiplatform.xs");\r
8 \r
9 /************************************\r
10 * Setup for M3 target\r
11 ************************************/\r
12 var M3            = xdc.useModule('ti.targets.arm.elf.M3');\r
13 M3.rootDir        = java.lang.System.getenv("TMS470CGTOOLPATH");\r
14 M3.ccOpts.suffix  += " --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DBN_DEBUG__PASS_THRU";\r
15 M3.ccOpts.suffix += " -ms ";\r
16 M3.ccOpts.suffix  += commonOpts;\r
17 M3.lnkOpts.suffix += " -x ";\r
18 M3.lnkOpts.prefix +=  " --zero_init=off ";\r
19 //set default platform and list of all interested platforms for M3\r
20 M3.platforms = ["ti.platforms.generic:DucatiPlatform"];\r
21 M3.platform = M3.platforms[0];\r
22 \r
23 Build.targets     = [\r
24                         M3,\r
25                     ];\r
26 \r
27 var Pkg = xdc.module("xdc.bld.PackageContents");\r
28 \r