]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/commitdiff
Add smp build profile only for ti.ipc.* packages.
authorRamsey Harris <ramsey@ti.com>
Tue, 9 Apr 2013 21:19:59 +0000 (14:19 -0700)
committerRamsey Harris <ramsey@ti.com>
Tue, 9 Apr 2013 21:19:59 +0000 (14:19 -0700)
ipc-bios.bld

index 6f526c7b866be2ac36b25857a9f37a406c18daf9..002a5946d19a1197070b8bcf9cc38d56856f5d8d 100644 (file)
@@ -105,10 +105,12 @@ var ccOpts = {
 };
 
 /* Enable building SMP-BIOS enabled libraries for targets that support it */
-xdc.module("ti.targets.arm.elf.M3").profiles["smp"] =
-        xdc.module("ti.targets.arm.elf.M3").profiles["debug"];
-xdc.module("ti.targets.arm.elf.M4").profiles["smp"] =
-        xdc.module("ti.targets.arm.elf.M4").profiles["debug"];
+if (Pkg.name.match(/^ti\.sdo\.(ipc|utils)/)) {
+    xdc.module("ti.targets.arm.elf.M3").profiles["smp"] =
+            xdc.module("ti.targets.arm.elf.M3").profiles["debug"];
+    xdc.module("ti.targets.arm.elf.M4").profiles["smp"] =
+            xdc.module("ti.targets.arm.elf.M4").profiles["debug"];
+}
 
 /* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */
 for (arg = 0; arg < arguments.length; arg++) {