summaryrefslogtreecommitdiffstats
path: root/recipes-ti/codec-engine/ti-codec-engine
diff options
context:
space:
mode:
authorPeter A. Bigot <bigotp@acm.org>2011-12-27 18:51:58 -0600
committerKoen Kooi <koen@dominion.thruhere.net>2011-12-29 10:03:11 +0100
commit47eebd34728bf2edb38548024b3161e59643f53e (patch)
treeb763f32130cc75d1294d450a834529299979a01c /recipes-ti/codec-engine/ti-codec-engine
parent104b1fca33b731622ed31ad76aacb00595b9b206 (diff)
downloadmeta-ti-47eebd34728bf2edb38548024b3161e59643f53e.tar.gz
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>
Diffstat (limited to 'recipes-ti/codec-engine/ti-codec-engine')
-rw-r--r--recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch b/recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch
new file mode 100644
index 00000000..b93161f4
--- /dev/null
+++ b/recipes-ti/codec-engine/ti-codec-engine/bypass-GCArmv5T-used-is-sealed.patch
@@ -0,0 +1,22 @@
1do_compile produces:
2
3js: "/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
4
5Fix per suggestion in http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/110920.aspx
6
7--- ./packages/ti/sdo/ce/osal/linux/package.xs.orig 2010-12-01 23:24:48.000000000 -0600
8+++ ./packages/ti/sdo/ce/osal/linux/package.xs 2011-12-27 14:59:39.382423341 -0600
9@@ -47,10 +47,10 @@
10 }
11
12 /* Conditionally load CMEM here */
13- var targetMod = xdc.useModule(prog.build.target.$name);
14- if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
15+ //var targetMod = xdc.useModule(prog.build.target.$name);
16+ //if ((":"+targetMod.getISAChain().join(":")+":").match(/:v5T:/i)) {
17 xdc.useModule('ti.sdo.linuxutils.cmem.CMEM');
18- }
19+ //}
20
21 var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');
22