[oe-commits] Florian Boor : xf86-video-v4l2: Fix build for all platforms other than armv7a

git at git.openembedded.org git at git.openembedded.org
Thu Sep 27 16:04:20 UTC 2012


Module: openembedded.git
Branch: master
Commit: bc0f99ea393da07f5ffc47498c55ebcec2bf70ce
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=bc0f99ea393da07f5ffc47498c55ebcec2bf70ce

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Thu Dec 15 01:05:00 2011 +0100

xf86-video-v4l2: Fix build for all platforms other than armv7a 

	This was impossible to build for platforms other than ARMv7A.
        The patch ensures ARMv7A assembler does not get used 
        on other platforms.
	

Signed-off-by: Florian Boor <florian.boor at kernelconcepts.de>

---

 .../xorg-driver/xf86-video-v4l2/fixarmv7a.patch    |   11 +++++++++++
 recipes/xorg-driver/xf86-video-v4l2_git.bb         |    4 +++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/recipes/xorg-driver/xf86-video-v4l2/fixarmv7a.patch b/recipes/xorg-driver/xf86-video-v4l2/fixarmv7a.patch
new file mode 100644
index 0000000..4fcb2d2
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-v4l2/fixarmv7a.patch
@@ -0,0 +1,11 @@
+--- git/src/Makefile.am.orig	2011-12-15 00:07:42.569636423 +0100
++++ git/src/Makefile.am	2011-12-15 00:09:39.571337545 +0100
+@@ -30,7 +30,4 @@
+ 
+ v4l2_drv_la_SOURCES = \
+          v4l2.c \
+-         v4l2-alpha.c \
+-         armv7.s
+-
+-
++         v4l2-alpha.c
diff --git a/recipes/xorg-driver/xf86-video-v4l2_git.bb b/recipes/xorg-driver/xf86-video-v4l2_git.bb
index baf4dee..6da37a8 100644
--- a/recipes/xorg-driver/xf86-video-v4l2_git.bb
+++ b/recipes/xorg-driver/xf86-video-v4l2_git.bb
@@ -3,11 +3,13 @@ DEPENDS += "randrproto videoproto"
 
 DESCRIPTION = "X.Org X server -- V4l2 overlay driver"
 PV = "0.2.0+${PR}+gitr${SRCREV}"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI = "git://github.com/koenkooi/xf86-video-v4l2.git;protocol=git \
           "
 
+SRC_URI_append_mucross = " file://fixarmv7a.patch"
+
 SRCREV = "ec9f3c2348d33a378e5a0c813da368d1193d76d4"
 S = "${WORKDIR}/git"
 





More information about the Openembedded-commits mailing list