if (pkg.$vers.length >= 3) { | |
pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..')); | |
} | |
pkg.build.libraries = [ | |
'lib/hello.mod.a86GW', | |
'lib/hello.mod.a64P', | |
]; | |
pkg.build.libDesc = [ | |
[ | |
'lib/hello.mod.a86GW', | |
{ | |
target: 'gnu.targets.Mingw' | |
} | |
], | |
[ | |
'lib/hello.mod.a64P', | |
{ | |
target: 'ti.targets.C64P' | |
} | |
], | |
]; | |
if ('suffix' in xdc.om['xdc.IPackage$$LibDesc']) { | |
pkg.build.libDesc['lib/hello.mod.a86GW'].suffix = '86GW'; | |
pkg.build.libDesc['lib/hello.mod.a64P'].suffix = '64P'; | |
} | |