vicp做为dm6446上的硬件加速器
源代码在线查看: package.xs
/*
* ======== package.xs ========
*
*/
/*
* ======== getLibs ========
*/
function getLibs(prog)
{
print ("Inside EDMA3 Drv getLibs");
/* Prepare variables to form the library path within this package */
var name = "edma3_drv_bios.lib";
var name_i = "edma3_drv_bios_i.lib";
var lib = "lib/";
switch (this.profile) {
case 'debug':
/* enable debug build for debug profile only */
lib = lib + "Debug/" + name;
break;
case 'idebug':
/* enable debug build for debug profile only */
lib = lib + "Debug/" + name_i;
break;
case 'irelease':
/* enable irelease build for irelease profile only */
lib = lib + "Release/" + name_i;
break;
default:
/* release profile for everything else */
lib = lib + "Release/" + name;
}
print(" will link with " + this.$name + ":" + lib);
/* return the library name */
return (lib);
}