diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-multimedia/webm/libvpx.inc | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx.inc')
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx.inc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx.inc b/meta-oe/recipes-multimedia/webm/libvpx.inc new file mode 100644 index 0000000000..4d8ba9d825 --- /dev/null +++ b/meta-oe/recipes-multimedia/webm/libvpx.inc | |||
@@ -0,0 +1,38 @@ | |||
1 | DESCRIPTION = "vpx Multi-Format Codec SDK" | ||
2 | LICENSE = "BSD" | ||
3 | |||
4 | INC_PR = "r3" | ||
5 | |||
6 | SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2" | ||
7 | S = "${WORKDIR}/libvpx-v${PV}" | ||
8 | |||
9 | # ffmpeg links with this and fails | ||
10 | # 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' | ||
11 | ARM_INSTRUCTION_SET = "arm" | ||
12 | |||
13 | CFLAGS += "-fPIC" | ||
14 | |||
15 | export CC | ||
16 | export LD = "${CC}" | ||
17 | |||
18 | VPXTARGET_armv5te = "armv5te-linux-gcc" | ||
19 | VPXTARGET_armv6 = "armv6-linux-gcc" | ||
20 | VPXTARGET_armv7a = "armv7-linux-gcc" | ||
21 | VPXTARGET ?= "generic-gnu" | ||
22 | |||
23 | CONFIGUREOPTS = " \ | ||
24 | --target=${VPXTARGET} \ | ||
25 | --enable-vp8 \ | ||
26 | --enable-libs \ | ||
27 | --disable-install-docs \ | ||
28 | " | ||
29 | do_configure() { | ||
30 | ${S}/configure ${CONFIGUREOPTS} | ||
31 | } | ||
32 | do_compile() { | ||
33 | oe_runmake | ||
34 | } | ||
35 | do_install() { | ||
36 | oe_runmake install DESTDIR=${D} | ||
37 | } | ||
38 | |||