summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-01-11 13:33:07 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-18 10:59:54 +0100
commit54b1804c15a12957ea8edc8da91395f4c0582f03 (patch)
tree2ae71108ef9164d5a57eeb10a9c4f9c5be7be64b /meta-oe
parentc70093344ebc4271dd3e155d2341bc274327d3ca (diff)
downloadmeta-openembedded-54b1804c15a12957ea8edc8da91395f4c0582f03.tar.gz
libav: add support for AArch64
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch27
-rw-r--r--meta-oe/recipes-multimedia/libav/libav_0.8.4.bb5
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch b/meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch
new file mode 100644
index 000000000..27d1d4a39
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch
@@ -0,0 +1,27 @@
1From 58db99e98f615d79ea90cac8f4bcf11c94e3e7c7 Mon Sep 17 00:00:00 2001
2From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
3Date: Thu, 10 Jan 2013 12:42:19 +0100
4Subject: [PATCH] configure: enable pic for AArch64
5
6Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
7
8Upstream-status: Backport
9---
10 configure | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13--- git.orig/configure
14+++ git/configure
15@@ -2390,11 +2390,11 @@ EOF
16
17 check_host_cflags -std=c99
18 check_host_cflags -Wall
19
20 case "$arch" in
21- alpha|ia64|mips|parisc|sparc)
22+ alpha|ia64|mips|parisc|sparc|aarch64)
23 spic=$shared
24 ;;
25 x86)
26 subarch="x86_32"
27 check_cc <<EOF && subarch="x86_64"
diff --git a/meta-oe/recipes-multimedia/libav/libav_0.8.4.bb b/meta-oe/recipes-multimedia/libav/libav_0.8.4.bb
index fe77d5539..ebab2c10f 100644
--- a/meta-oe/recipes-multimedia/libav/libav_0.8.4.bb
+++ b/meta-oe/recipes-multimedia/libav/libav_0.8.4.bb
@@ -4,6 +4,11 @@ EXTRA_OECONF += " \
4 --enable-postproc \ 4 --enable-postproc \
5" 5"
6 6
7FILESEXTRAPATHS_prepend := "${THISDIR}/libav-0.8.4:"
8
9SRC_URI_append = " \
10 file://0001-configure-enable-pic-for-AArch64.patch \
11"
7LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 12LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ 13 file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
9 file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \ 14 file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \