diff --git a/packages/ti/ipc/family/omap54xx/package.xs b/packages/ti/ipc/family/omap54xx/package.xs
index d549b0ae7e36efa2a12c1954c8369a03c0e3d5b0..f91b6c7851bdcd32f7f004b3d25f8c142df0f715 100644 (file)
*
*/
-/*
- * ======== init ========
- */
-function init()
-{
- xdc.loadPackage('ti.pm');
-}
-
/*
* ======== close ========
*/
function close()
{
- Program.exportModule('ti.sysbios.hal.Cache');
- Program.exportModule('ti.sysbios.knl.Idle');
+ /* bring in modules we use in this package */
+ xdc.useModule('ti.sysbios.knl.Swi');
+ xdc.useModule('ti.sysbios.hal.Cache');
+ xdc.loadPackage('ti.pm');
}
/*
*/
function getLibs(prog)
{
- var suffix;
var file;
var libAry = [];
var profile = this.profile;
var smp = "";
- suffix = prog.build.target.findSuffix(this);
+ var suffix = prog.build.target.findSuffix(this);
if (suffix == null) {
- return ""; /* nothing to contribute */
+ /* no matching lib found in this package, return "" */
+ $trace("Unable to locate a compatible library, returning none.",
+ 1, ['getLibs']);
+ return ("");
}
if (prog.platformName.match(/ipu/)) {