diff --git a/ipc-bios.bld b/ipc-bios.bld
index d0b3e24a2398671c0251cf15e27c7f481e6a7394..e96b008970b5a1d1253666b844d117a98ae00b56 100644 (file)
--- a/ipc-bios.bld
+++ b/ipc-bios.bld
var platform = "";
var smpEnabled = true;
+var Bld_goal = "";
/* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */
for (arg = 0; arg < arguments.length; arg++) {
smpEnabled = configParts[0].split("=")[1].match(/^1$/);
continue;
}
+ else if (configParts[0].split("=")[0] == "GOAL") {
+ Bld_goal = configParts[0].split("=")[1];
+ continue;
+ }
+
+ if (platform == "") {
+ platform = "NONE";
+ }
+
/*
* Get the compiler's installation directory.
* For "ti.targets.elf.C674=/vendors/c6x/7.2.0", we get "/vendors/c6x/7.2.0"
target.platforms.$add("ti.platforms.evmDRA7XX:dsp2");
break;
+ case 'NONE':
+ /* okay, no platform specified */
+ break;
+
default:
print("Unknown platform, skipping " + platform);
break;
target.platforms.$add("ti.platforms.evmDRA7XX:ipu1");
break;
+ case 'NONE':
+ /* okay, no platform specified */
+ break;
+
default:
print("Unknown platform, skipping " + platform);
break;