diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-01-11 13:33:07 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-18 10:59:54 +0100 |
commit | 54b1804c15a12957ea8edc8da91395f4c0582f03 (patch) | |
tree | 2ae71108ef9164d5a57eeb10a9c4f9c5be7be64b | |
parent | c70093344ebc4271dd3e155d2341bc274327d3ca (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch | 27 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/libav/libav_0.8.4.bb | 5 |
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 @@ | |||
1 | From 58db99e98f615d79ea90cac8f4bcf11c94e3e7c7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
3 | Date: Thu, 10 Jan 2013 12:42:19 +0100 | ||
4 | Subject: [PATCH] configure: enable pic for AArch64 | ||
5 | |||
6 | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
7 | |||
8 | Upstream-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 | ||
7 | FILESEXTRAPATHS_prepend := "${THISDIR}/libav-0.8.4:" | ||
8 | |||
9 | SRC_URI_append = " \ | ||
10 | file://0001-configure-enable-pic-for-AArch64.patch \ | ||
11 | " | ||
7 | LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 12 | LIC_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 \ |