1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 11:59:49 +00:00

ti-codec-engine: work around XDC runtime error

do_compile produces:

js: "/prj/oe/bb/build/tmp-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_26_02_11-r114a/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/package.xs", line 50: XDC runtime error: gnu.targets.arm.GCArmv5T: '$used' is sealed

Fix comments out the conditional check per suggestion in
http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx

Signed-off-by: Peter A. Bigot <bigotp@acm.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Peter A. Bigot
2011-12-27 18:51:58 -06:00
committed by Koen Kooi
parent 104b1fca33
commit 47eebd3472
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,22 @@
do_compile produces:
js: "/prj/oe/bb/build/tmp-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_26_02_11-r114a/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/package.xs", line 50: XDC runtime error: gnu.targets.arm.GCArmv5T: '$used' is sealed
Fix per suggestion in http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx
--- ./packages/ti/sdo/ce/osal/linux/package.xs.orig 2010-12-01 23:24:48.000000000 -0600
+++ ./packages/ti/sdo/ce/osal/linux/package.xs 2011-12-27 14:59:39.382423341 -0600
@@ -47,10 +47,10 @@
}
/* Conditionally load CMEM here */
- var targetMod = xdc.useModule(prog.build.target.$name);
- if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
+ //var targetMod = xdc.useModule(prog.build.target.$name);
+ //if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
xdc.useModule('ti.sdo.linuxutils.cmem.CMEM');
- }
+ //}
var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');
@@ -2,6 +2,9 @@ require ti-codec-engine.inc
LIC_FILES_CHKSUM = "file://codec_engine_${PV}_manifest.html;md5=912535f1b02ecf329a3979bf313f91e0"
PV = "2_26_02_11"
PR_append = "1"
SRC_URI += "file://bypass-GCArmv5T-used-is-sealed.patch"
SRC_URI[cetarball.md5sum] = "4f755f77119e4da19ab5cc7ae7ccfdb4"
SRC_URI[cetarball.sha256sum] = "17fa053719265e0901fe3c3f90c9204957c6d0f5351d6b3ba4900df58cb7300f"