Build: Fix ti.pm to support package release goal
[ipc/ipcdev.git] / packages / ti / pm / package.xs
index 29d5d9bcd49ff6f669d0c4256844cc708eb98e61..1f4a5694de979f6dbb571b1b27997fbed30c9d45 100644 (file)
  */
 function init()
 {
+    if (xdc.om.$name != 'cfg') {
+        return;
+    }
+
     if (Program.build.target.name.match(/C64T/)) {
         var Power = xdc.useModule('ti.sysbios.family.c64p.tesla.Power');
     }