[oe] [PATCH] libvpx: force arm mode to be able to link with ffmpeg where arm mode already is forced

Martin Jansa martin.jansa at gmail.com
Wed Jan 12 11:48:17 UTC 2011


Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 recipes/webm/libvpx.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/webm/libvpx.inc b/recipes/webm/libvpx.inc
index 9913d5b..9d40945 100644
--- a/recipes/webm/libvpx.inc
+++ b/recipes/webm/libvpx.inc
@@ -1,11 +1,15 @@
 DESCRIPTION = "vpx Multi-Format Codec SDK"
 LICENSE = "BSD"
 
-INC_PR = "r5"
+INC_PR = "r6"
 
 SRC_URI = "git://review.webmproject.org/libvpx.git;protocol=git;tag=v${PV}"
 S = "${WORKDIR}/git"
 
+# ffmpeg links with this and fails 
+# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
+ARM_INSTRUCTION_SET = "arm"
+
 CFLAGS += "-fPIC"
 
 export CC
-- 
1.7.4.rc1





More information about the Openembedded-devel mailing list