summaryrefslogtreecommitdiff
path: root/recipes/webm/libvpx.inc
blob: a0aebffc1763de00ad73ef00ae5ab476875dde75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "vpx Multi-Format Codec SDK"
LICENSE = "BSD"

PR = "r1"

SRC_URI = "http://webm.googlecode.com/files/libvpx-${PV}.tar.bz2"

inherit autotools

CFLAGS += "-fPIC"

export CC
export LD = "${CC}"

VPXTARGET_armv5te = "armv5te-linux-gcc"
VPXTARGET_armv6 = "armv6-linux-gcc"
VPXTARGET_armv7a = "armv7-linux-gcc"
VPXTARGET ?= "generic-gnu"

CONFIGUREOPTS = " \
          --target=${VPXTARGET} \
          --enable-vp8 \
          --enable-libs \
          --disable-install-docs \
"

do_install() {
	oe_runmake install DESTDIR=${D}
}