summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c6191d)
raw | patch | inline | side by side (parent: 8c6191d)
author | G Anthony <a0783926@ti.com> | |
Wed, 27 Feb 2013 01:18:27 +0000 (17:18 -0800) | ||
committer | G Anthony <a0783926@ti.com> | |
Wed, 27 Feb 2013 01:18:27 +0000 (17:18 -0800) |
Update ccOpts and lnkOpts per omapzoom sysbios-rpmsg repo.
Note: omapzoom sysbios-rpmsg uses 7.2.9 CGT for C6000. Since we don't
have that in VENDORS, using 7.2.0 instead.
Signed-off-by: G Anthony <a0783926@ti.com>
Note: omapzoom sysbios-rpmsg uses 7.2.9 CGT for C6000. Since we don't
have that in VENDORS, using 7.2.0 instead.
Signed-off-by: G Anthony <a0783926@ti.com>
ipc-bios.bld | patch | blob | history | |
ipc-bios.mak | patch | blob | history |
diff --git a/ipc-bios.bld b/ipc-bios.bld
index e6ee4f916b9720ed5e66da7aaf4011ca0ca27270..26908a800f1fd25c176449325f1d6d928696c356 100644 (file)
--- a/ipc-bios.bld
+++ b/ipc-bios.bld
* Build an alias for xdc.om.xdc.bld.BuildEnvironment
*/
+var build_smp = java.lang.System.getenv("BUILD_SMP");
+
/* Common ccopts suffix used for all C6x targets */
var c6xOpts = " -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 -g ";
"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 ",
];
}
+ if (targetName.match(/elf\.C64T/)) {
+ target.lnkOpts.prefix += " -e=ti_sysbios_family_c64p_Hwi0";
+ /* NOTE: These platforms (from omapzoom) are local, custom: */
+ target.platforms = [
+ //"ti.platform.omap4430.dsp",
+ "ti.platform.omap54xx.dsp",
+ ];
+ }
+
+ if (targetName.match(/elf\.M3/)) {
+ target.lnkOpts.prefix += " --retain=.resource_table";
+ target.lnkOpts.prefix += " --cinit_compression=off";
+ /* NOTE: These platforms (from omapzoom) are local, custom: */
+ /* Set default platform and list of all interested platforms for M3 */
+ if (build_smp == null || build_smp == "0") {
+ /* Helps boot times, plus unmasks issues w/ uninit'd vars */
+ target.lnkOpts.prefix += " --zero_init=off";
+ target.platforms = [
+ //"ti.platform.omap4430.core0",
+ "ti.platform.omap54xx.core0",
+ ];
+ }
+ else {
+ target.platforms = [
+ //"ti.platform.omap4430.ipu",
+ "ti.platform.omap54xx.ipu",
+ ];
+ }
+ }
+
Build.targets.$add(target);
}
diff --git a/ipc-bios.mak b/ipc-bios.mak
index b8220002597629ff3a834710501fc9d67d854b91..3799555eeaf19d61fe69557ac53ac8192b25637e 100644 (file)
--- a/ipc-bios.mak
+++ b/ipc-bios.mak
#XDCOPTIONS=v
export XDCOPTIONS
+BUILD_SMP ?= 1
+
#
# Set XDC executable command
# Note that XDCBUILDCFG points to the ipc-bios.bld file which uses
# the arguments specified by XDCARGS
#
-XDC = $(XDC_INSTALL_DIR)/xdc XDCARGS="$(XDCARGS)" XDCBUILDCFG=./ipc-bios.bld
+XDC = $(XDC_INSTALL_DIR)/xdc XDCARGS="$(XDCARGS)" BUILD_SMP=$(BUILD_SMP) XDCBUILDCFG=./ipc-bios.bld
######################################################
## Shouldnt have to modify anything below this line ##