[oe-commits] Marcin Juszkiewicz : libav: add support for AArch64
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 18 10:02:58 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 54b1804c15a12957ea8edc8da91395f4c0582f03
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=54b1804c15a12957ea8edc8da91395f4c0582f03
Author: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
Date: Fri Jan 11 13:33:07 2013 +0000
libav: add support for AArch64
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../0001-configure-enable-pic-for-AArch64.patch | 27 ++++++++++++++++++++
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 0000000..27d1d4a
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libav/libav-0.8.4/0001-configure-enable-pic-for-AArch64.patch
@@ -0,0 +1,27 @@
+From 58db99e98f615d79ea90cac8f4bcf11c94e3e7c7 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
+Date: Thu, 10 Jan 2013 12:42:19 +0100
+Subject: [PATCH] configure: enable pic for AArch64
+
+Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
+
+Upstream-status: Backport
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- git.orig/configure
++++ git/configure
+@@ -2390,11 +2390,11 @@ EOF
+
+ check_host_cflags -std=c99
+ check_host_cflags -Wall
+
+ case "$arch" in
+- alpha|ia64|mips|parisc|sparc)
++ alpha|ia64|mips|parisc|sparc|aarch64)
+ spic=$shared
+ ;;
+ x86)
+ subarch="x86_32"
+ 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 fe77d55..ebab2c1 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 += " \
--enable-postproc \
"
+FILESEXTRAPATHS_prepend := "${THISDIR}/libav-0.8.4:"
+
+SRC_URI_append = " \
+ file://0001-configure-enable-pic-for-AArch64.patch \
+"
LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
More information about the Openembedded-commits
mailing list