diff options
author | Ramsey Harris <ramsey@ti.com> | 2013-11-06 11:56:10 -0800 |
---|---|---|
committer | Chris Ring <cring@ti.com> | 2013-11-08 11:50:12 -0800 |
commit | c28b31eafc1674137dcf5babb4bef99b17cfc0ef (patch) | |
tree | e7cf7c35853f42f572e7d2bf3704d0355273bb49 /ipc-bios.bld | |
parent | f3d636dfcf2a6051670ab5cfd577eb51230c5286 (diff) | |
download | ipc-c28b31eafc1674137dcf5babb4bef99b17cfc0ef.tar.gz |
SDOCM00099002 Make LibType_Debug build profile same as custom.
Merged updates in ti.sysbios.Build module into ti.ipc.sdo.Build.
Turn off package library builds when building IPC for product
release. Added ti.sdo.ipc.Build.libType config param. Added source
files to Pkg.otherFiles for source only release. Added package
debug library build support. Removed package ti.sdo.utils from
ti.sdo.ipc.Build file list, it builds separately now.
Diffstat (limited to 'ipc-bios.bld')
-rw-r--r-- | ipc-bios.bld | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ipc-bios.bld b/ipc-bios.bld index d0b3e24..e96b008 100644 --- a/ipc-bios.bld +++ b/ipc-bios.bld @@ -115,6 +115,7 @@ var lnkOpts = { var platform = ""; var smpEnabled = true; +var Bld_goal = ""; /* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */ for (arg = 0; arg < arguments.length; arg++) { @@ -133,6 +134,15 @@ for (arg = 0; arg < arguments.length; arg++) { smpEnabled = configParts[0].split("=")[1].match(/^1$/); continue; } + else if (configParts[0].split("=")[0] == "GOAL") { + Bld_goal = configParts[0].split("=")[1]; + continue; + } + + if (platform == "") { + platform = "NONE"; + } + /* * Get the compiler's installation directory. * For "ti.targets.elf.C674=/vendors/c6x/7.2.0", we get "/vendors/c6x/7.2.0" @@ -193,6 +203,10 @@ for (arg = 0; arg < arguments.length; arg++) { target.platforms.$add("ti.platforms.evmDRA7XX:dsp2"); break; + case 'NONE': + /* okay, no platform specified */ + break; + default: print("Unknown platform, skipping " + platform); break; @@ -216,6 +230,10 @@ for (arg = 0; arg < arguments.length; arg++) { target.platforms.$add("ti.platforms.evmDRA7XX:ipu1"); break; + case 'NONE': + /* okay, no platform specified */ + break; + default: print("Unknown platform, skipping " + platform); break; |