surenyi
6 years ago
3 changed files with 0 additions and 57 deletions
@ -1,16 +0,0 @@ |
|||
var Build = xdc.useModule('xdc.bld.BuildEnvironment'); |
|||
|
|||
var toolsDir = java.lang.System.getenv("XDCCGROOT") |
|||
var C66P = xdc.useModule('ti.targets.elf.C66'); |
|||
|
|||
C66P.rootDir = toolsDir |
|||
|
|||
/* include path */ |
|||
var libdspPath = "$(PKGROOT)/vsky/libdsp/"; |
|||
var libdspPathInclude = " -i" + libdspPath + "/inc" + " -i" + libdspPath + "/inc/tools"; |
|||
|
|||
var Pkg = xdc.useModule("xdc.bld.PackageContents"); |
|||
Pkg.generatedFiles.$add("lib/"); |
|||
|
|||
Build.targets = [C66P]; |
|||
|
@ -1,30 +0,0 @@ |
|||
Pkg.otherFiles = [ |
|||
"package.bld", |
|||
"package.xdc", |
|||
"package.inc", |
|||
]; |
|||
|
|||
var objFiles = [ |
|||
"resource_mgr.c", |
|||
"nimu_eth.c", |
|||
"osal.c", |
|||
] |
|||
|
|||
for (var i = 0; i < Build.targets.length; i++) { |
|||
var targ = Build.targets[i]; |
|||
var libName = "dspemac"; |
|||
|
|||
var libOptions = { |
|||
incs: libdspPathInclude, |
|||
copts: '--gcc', |
|||
}; |
|||
|
|||
var lib = Pkg.addLibrary("lib/" + libName, targ, libOptions); |
|||
lib.addObjects(objFiles); |
|||
} |
|||
|
|||
Pkg.attrs.exportSrc = false; |
|||
Pkg.attrs.exportCfg = true; |
|||
Pkg.attrs.compress = true; |
|||
Pkg.attrs.archiver = "tar"; |
|||
|
@ -1,11 +0,0 @@ |
|||
/* |
|||
* Package specification file for libdsp |
|||
*/ |
|||
|
|||
/*! |
|||
* ======== vsky.ligbdsp ======== |
|||
* dspemac library |
|||
*/ |
|||
package vsky.emac [0, 9, 9, 0] { |
|||
} |
|||
|
Loading…
Reference in new issue