void $$SINGLETONS() { pkgP.init( "host.platforms.SUN.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "host.platforms.SUN")); Scriptable cap = (Scriptable) Global.callFxn("loadCapsule", xdcO, "host/platforms/SUN/package.xs"); om.bind("xdc.IPackage$$capsule", cap); Object fxn; fxn = Global.get(cap, "init"); if (fxn != null) pkgP.addFxn( "init", (Proto.Fxn) om.findStrict("xdc.IPackage$$init", "host.platforms.SUN"), fxn); fxn = Global.get(cap, "close"); if (fxn != null) pkgP.addFxn( "close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "host.platforms.SUN"), fxn); fxn = Global.get(cap, "validate"); if (fxn != null) pkgP.addFxn( "validate", (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "host.platforms.SUN"), fxn); fxn = Global.get(cap, "exit"); if (fxn != null) pkgP.addFxn( "exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "host.platforms.SUN"), fxn); fxn = Global.get(cap, "getLibs"); if (fxn != null) pkgP.addFxn( "getLibs", (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "host.platforms.SUN"), fxn); fxn = Global.get(cap, "getSects"); if (fxn != null) pkgP.addFxn( "getSects", (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "host.platforms.SUN"), fxn); pkgP.bind("$capsule", cap); pkgV.init2(pkgP, "host.platforms.SUN", Value.DEFAULT, false); pkgV.bind("$name", "host.platforms.SUN"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "host.platforms.SUN."); pkgV.bind("$vers", Global.newArray("1, 0, 0, 1")); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); imports.add(Global.newArray("xdc.platform", Global.newArray())); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['host.platforms.SUN'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append("];\n"); sb.append("if('suffix' in xdc.om['xdc.IPackage$$LibDesc']) {\n"); sb.append("}\n"); Global.eval(sb.toString()); }
void $$SINGLETONS() { pkgP.init( "ti.platforms.evm6424.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.platforms.evm6424")); pkgP.bind("$capsule", $$UNDEF); pkgV.init2(pkgP, "ti.platforms.evm6424", Value.DEFAULT, false); pkgV.bind("$name", "ti.platforms.evm6424"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "ti.platforms.evm6424."); pkgV.bind("$vers", Global.newArray("1, 0, 0, 0")); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); imports.add(Global.newArray("ti.catalog.c6000", Global.newArray())); imports.add(Global.newArray("xdc.platform", Global.newArray(1, 0, 1))); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['ti.platforms.evm6424'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append("];\n"); sb.append("if('suffix' in xdc.om['xdc.IPackage$$LibDesc']) {\n"); sb.append("}\n"); Global.eval(sb.toString()); }
void $$SINGLETONS() { pkgP.init( "ti.sdo.ce.utils.rtcfg.osal.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sdo.ce.utils.rtcfg.osal")); pkgP.bind("$capsule", $$UNDEF); pkgV.init2(pkgP, "ti.sdo.ce.utils.rtcfg.osal", Value.DEFAULT, false); pkgV.bind("$name", "ti.sdo.ce.utils.rtcfg.osal"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "ti.sdo.ce.utils.rtcfg.osal."); pkgV.bind("$vers", Global.newArray("1, 0, 0")); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['ti.sdo.ce.utils.rtcfg.osal'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append("];\n"); Global.eval(sb.toString()); }
void $$SINGLETONS() { pkgP.init( "xdc.services.mapping.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "xdc.services.mapping")); pkgP.bind("$capsule", $$UNDEF); pkgV.init2(pkgP, "xdc.services.mapping", Value.DEFAULT, false); pkgV.bind("$name", "xdc.services.mapping"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "xdc.services.mapping."); pkgV.bind("$vers", Global.newArray(1, 0, 0)); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['xdc.services.mapping'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("if ('xdc.services.mapping$$stat$base' in xdc.om) {\n"); sb.append("pkg.packageBase = xdc.om['xdc.services.mapping$$stat$base'];\n"); sb.append("pkg.packageRepository = xdc.om['xdc.services.mapping$$stat$root'];\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append("];\n"); Global.eval(sb.toString()); }
void $$SINGLETONS() { pkgP.init( "ti.sdo.ce.universal.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sdo.ce.universal")); Scriptable cap = (Scriptable) Global.callFxn("loadCapsule", xdcO, "ti/sdo/ce/universal/package.xs"); om.bind("xdc.IPackage$$capsule", cap); Object fxn; fxn = Global.get(cap, "init"); if (fxn != null) pkgP.addFxn( "init", (Proto.Fxn) om.findStrict("xdc.IPackage$$init", "ti.sdo.ce.universal"), fxn); fxn = Global.get(cap, "close"); if (fxn != null) pkgP.addFxn( "close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "ti.sdo.ce.universal"), fxn); fxn = Global.get(cap, "validate"); if (fxn != null) pkgP.addFxn( "validate", (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "ti.sdo.ce.universal"), fxn); fxn = Global.get(cap, "exit"); if (fxn != null) pkgP.addFxn( "exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "ti.sdo.ce.universal"), fxn); fxn = Global.get(cap, "getLibs"); if (fxn != null) pkgP.addFxn( "getLibs", (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "ti.sdo.ce.universal"), fxn); fxn = Global.get(cap, "getSects"); if (fxn != null) pkgP.addFxn( "getSects", (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "ti.sdo.ce.universal"), fxn); pkgP.bind("$capsule", cap); pkgV.init2(pkgP, "ti.sdo.ce.universal", Value.DEFAULT, false); pkgV.bind("$name", "ti.sdo.ce.universal"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "ti.sdo.ce.universal."); pkgV.bind("$vers", Global.newArray("1, 0, 0")); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['ti.sdo.ce.universal'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("'lib/debug/universal.aem3',\n"); sb.append("'lib/release/universal.aem3',\n"); sb.append("'lib/debug/universal.ae674',\n"); sb.append("'lib/release/universal.ae674',\n"); sb.append("'lib/debug/universal.av5T',\n"); sb.append("'lib/release/universal.av5T',\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append("['lib/debug/universal.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n"); sb.append( "['lib/release/universal.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n"); sb.append("['lib/debug/universal.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n"); sb.append( "['lib/release/universal.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n"); sb.append( "['lib/debug/universal.av5T', {target: 'gnu.targets.arm.GCArmv5T', suffix: 'v5T'}],\n"); sb.append( "['lib/release/universal.av5T', {target: 'gnu.targets.arm.GCArmv5T', suffix: 'v5T'}],\n"); sb.append("];\n"); Global.eval(sb.toString()); }
void $$SINGLETONS() { pkgP.init( "ti.sysbios.rta.Package", (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sysbios.rta")); Scriptable cap = (Scriptable) Global.callFxn("loadCapsule", xdcO, "ti/sysbios/rta/package.xs"); om.bind("xdc.IPackage$$capsule", cap); Object fxn; fxn = Global.get(cap, "init"); if (fxn != null) pkgP.addFxn("init", (Proto.Fxn) om.findStrict("xdc.IPackage$$init", "ti.sysbios.rta"), fxn); fxn = Global.get(cap, "close"); if (fxn != null) pkgP.addFxn("close", (Proto.Fxn) om.findStrict("xdc.IPackage$$close", "ti.sysbios.rta"), fxn); fxn = Global.get(cap, "validate"); if (fxn != null) pkgP.addFxn( "validate", (Proto.Fxn) om.findStrict("xdc.IPackage$$validate", "ti.sysbios.rta"), fxn); fxn = Global.get(cap, "exit"); if (fxn != null) pkgP.addFxn("exit", (Proto.Fxn) om.findStrict("xdc.IPackage$$exit", "ti.sysbios.rta"), fxn); fxn = Global.get(cap, "getLibs"); if (fxn != null) pkgP.addFxn( "getLibs", (Proto.Fxn) om.findStrict("xdc.IPackage$$getLibs", "ti.sysbios.rta"), fxn); fxn = Global.get(cap, "getSects"); if (fxn != null) pkgP.addFxn( "getSects", (Proto.Fxn) om.findStrict("xdc.IPackage$$getSects", "ti.sysbios.rta"), fxn); pkgP.bind("$capsule", cap); pkgV.init2(pkgP, "ti.sysbios.rta", Value.DEFAULT, false); pkgV.bind("$name", "ti.sysbios.rta"); pkgV.bind("$category", "Package"); pkgV.bind("$$qn", "ti.sysbios.rta."); pkgV.bind("$vers", Global.newArray("2, 0, 0, 0")); Value.Map atmap = (Value.Map) pkgV.getv("$attr"); atmap.seal("length"); imports.clear(); pkgV.bind("$imports", imports); StringBuilder sb = new StringBuilder(); sb.append("var pkg = xdc.om['ti.sysbios.rta'];\n"); sb.append("if (pkg.$vers.length >= 3) {\n"); sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n"); sb.append("}\n"); sb.append("pkg.build.libraries = [\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a28L',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a28FP',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64P',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a64Pe',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a674',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430X',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.a430XS',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae430X',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae430XS',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ar430XS',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64P',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64Pe',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae674',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae64T',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae66',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae66e',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aearp32',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aearp32F',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.ae9',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aea8f',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aea8fnv',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem3',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem4',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aem4f',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aer4te',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aer4fte',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.am3g',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.am4g',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.am4fg',\n"); sb.append("'lib/sysbios/debug/ti.sysbios.rta.aa15g',\n"); sb.append("'lib/smpbios/debug/ti.sysbios.rta.aem3',\n"); sb.append("'lib/smpbios/debug/ti.sysbios.rta.aem4',\n"); sb.append("];\n"); sb.append("pkg.build.libDesc = [\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a28L', {target: 'ti.targets.C28_large', suffix: '28L'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a28FP', {target: 'ti.targets.C28_float', suffix: '28FP'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a64', {target: 'ti.targets.C64', suffix: '64'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a64P', {target: 'ti.targets.C64P', suffix: '64P'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a64Pe', {target: 'ti.targets.C64P_big_endian', suffix: '64Pe'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a674', {target: 'ti.targets.C674', suffix: '674'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a430', {target: 'ti.targets.msp430.MSP430', suffix: '430'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a430X', {target: 'ti.targets.msp430.MSP430X', suffix: '430X'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.a430XS', {target: 'ti.targets.msp430.MSP430X_small', suffix: '430XS'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae430X', {target: 'ti.targets.msp430.elf.MSP430X', suffix: 'e430X'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae430XS', {target: 'ti.targets.msp430.elf.MSP430X_small', suffix: 'e430XS'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ar430XS', {target: 'iar.targets.msp430.MSP430X_small', suffix: 'r430XS'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae64P', {target: 'ti.targets.elf.C64P', suffix: 'e64P'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae64Pe', {target: 'ti.targets.elf.C64P_big_endian', suffix: 'e64Pe'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae674', {target: 'ti.targets.elf.C674', suffix: 'e674'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae64T', {target: 'ti.targets.elf.C64T', suffix: 'e64T'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae66', {target: 'ti.targets.elf.C66', suffix: 'e66'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae66e', {target: 'ti.targets.elf.C66_big_endian', suffix: 'e66e'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aearp32', {target: 'ti.targets.arp32.elf.ARP32', suffix: 'earp32'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aearp32F', {target: 'ti.targets.arp32.elf.ARP32_far', suffix: 'earp32F'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.ae9', {target: 'ti.targets.arm.elf.Arm9', suffix: 'e9'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aea8f', {target: 'ti.targets.arm.elf.A8F', suffix: 'ea8f'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aea8fnv', {target: 'ti.targets.arm.elf.A8Fnv', suffix: 'ea8fnv'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aem4', {target: 'ti.targets.arm.elf.M4', suffix: 'em4'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aem4f', {target: 'ti.targets.arm.elf.M4F', suffix: 'em4f'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aer4te', {target: 'ti.targets.arm.elf.R4t_big_endian', suffix: 'er4te'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aer4fte', {target: 'ti.targets.arm.elf.R4Ft_big_endian', suffix: 'er4fte'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.am3g', {target: 'gnu.targets.arm.M3', suffix: 'm3g'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.am4g', {target: 'gnu.targets.arm.M4', suffix: 'm4g'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.am4fg', {target: 'gnu.targets.arm.M4F', suffix: 'm4fg'}],\n"); sb.append( "['lib/sysbios/debug/ti.sysbios.rta.aa15g', {target: 'gnu.targets.arm.A15', suffix: 'a15g'}],\n"); sb.append( "['lib/smpbios/debug/ti.sysbios.rta.aem3', {target: 'ti.targets.arm.elf.M3', suffix: 'em3'}],\n"); sb.append( "['lib/smpbios/debug/ti.sysbios.rta.aem4', {target: 'ti.targets.arm.elf.M4', suffix: 'em4'}],\n"); sb.append("];\n"); Global.eval(sb.toString()); }