diff --git a/ipc-bios.bld b/ipc-bios.bld
index caf9a9cd2d7e5de08e1192fd822b962f3ff3cd81..741196bcd7dcc24a2c338df823797888052c2fad 100644 (file)
--- a/ipc-bios.bld
+++ b/ipc-bios.bld
*/
/*
- * ======== ipc.bld ========
+ * ======== ipc-bios.bld ========
* This script is run prior to all build scripts. It sets host-system-
* independent values for targets and platforms, then it attempts to
* find the host-system-specific user.bld script that sets rootDirs.
"ti.targets.elf.C64P" : c6xOpts,
"ti.targets.elf.C64P_big_endian" : c6xOpts,
- "ti.targets.elf.C64T" : c6xOpts,
+ "ti.targets.elf.C64T" : " -mi10 -mo -pds=71",
"ti.targets.elf.C66" : c6xOpts,
"ti.targets.elf.C66_big_endian" : c6xOpts,
"ti.targets.elf.C674" : c6xOpts,
"ti.targets.arm.elf.Arm9" : " -ms -g ",
"ti.targets.arm.elf.A8F" : " -ms -g ",
"ti.targets.arm.elf.A8Fnv" : " -ms -g ",
- "ti.targets.arm.elf.M3" : " -ms -g ",
+ "ti.targets.arm.elf.M3" : " --embed_inline_assembly -ms -pds=71",
"ti.targets.arm.elf.M4" : " -ms -g ",
"ti.targets.arm.elf.M4F" : " -ms -g ",
};
/* Enable building SMP-BIOS enabled libraries for targets that support it */
-xdc.module("ti.targets.arm.elf.M3").profiles["smp"] =
- xdc.module("ti.targets.arm.elf.M3").profiles["debug"];
-xdc.module("ti.targets.arm.elf.M4").profiles["smp"] =
- xdc.module("ti.targets.arm.elf.M4").profiles["debug"];
+if (Pkg.name.match(/^ti\.sdo\.(ipc|utils)/)) {
+ xdc.module("ti.targets.arm.elf.M3").profiles["smp"] =
+ xdc.module("ti.targets.arm.elf.M3").profiles["debug"];
+ xdc.module("ti.targets.arm.elf.M4").profiles["smp"] =
+ xdc.module("ti.targets.arm.elf.M4").profiles["debug"];
+}
/* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */
for (arg = 0; arg < arguments.length; arg++) {
target.rootDir = rootDir;
target.ccOpts.suffix += ccOpts[targetName];
- /* Add appropriate platforms to build for based on target name */
+ /* Add appropriate platforms to build for based on target name */
if (targetName.match(/elf\.C674/)) {
target.platforms = [ "ti.platforms.evmOMAPL138:DSP" ];
}
- if (targetName.match(/elf\.C66/)) {
- target.platforms = [
- "ti.platforms.simKepler"
+ if (targetName.match(/elf\.C66$/)) {
+ target.lnkOpts.prefix += " -e=ti_sysbios_family_c64p_Hwi0";
+ target.lnkOpts.prefix += " --cinit_compression=off";
+ target.platforms = [
+ //"ti.platforms.simKepler"
//"ti.platforms.evm6614:DSP"
+ "ti.platforms.evmTCI6638K2K",
+ "ti.platforms.evmDRA7XX:dsp1",
+ ];
+ }
+
+ if (targetName.match(/elf\.C64T/)) {
+ target.lnkOpts.prefix += " -e=ti_sysbios_family_c64p_Hwi0";
+
+ target.platforms = [
+ "ti.platforms.sdp5430:DSP",
+ ];
+ }
+
+ /*
+ * TODO: for now, continue to support OMAP5 for M3 targets until all users
+ * migrate to the new OMAP5-based M4 platform. Eventually remove omap54xx
+ * from the M3 target.platforms[] array.
+ */
+ if (targetName.match(/elf\.M(3|4)$/)) {
+ target.lnkOpts.prefix += " --retain=.resource_table";
+ target.lnkOpts.prefix += " --cinit_compression=off";
+
+ target.platforms = [
+ "ti.platforms.sdp5430:IPU",
+ "ti.platforms.evmDRA7XX:ipu2",
];
}