blob: 2eb93f38342d9c38f651b8e250b408e200d70c23 [file] [log] [blame]
var RtsBuild = xdc.loadCapsule('xdc/runtime/build.xs');
Pkg.makePrologue = RtsBuild.makePrologue;
Pkg.attrs.exportAll = true;
for (var i = 0; i < Build.targets.length; i++) {
var targ = Build.targets[i];
if (targ.rts == Pkg.name) {
var lib = Pkg.addLibrary("lib/" + Pkg.name, targ);
lib.addObjects(RtsBuild.objs);
}
}