]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: Don't apply i.MX6-specific patches unconditionally
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 17 Jul 2014 17:44:45 +0000 (14:44 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 Jul 2014 13:59:32 +0000 (10:59 -0300)
The patches for Vivante GPU support are i.MX6-specific and shouldn't
be applied for other SoCs and architectures. This patch changes it
to be i.MX6-specific.

Fixes [YOCTO: #6545]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/wayland/weston_%.bbappend

index 51af104b629b9295ebc705cf2150bf3e68701212..06aaed82f7d12c22f7647ab1ca1229f89b40be02 100644 (file)
@@ -1,7 +1,8 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI += "file://0001-ENGR00314805-1-Add-Vivante-EGL-support.patch \
-            file://0002-ENGR00314805-2-Add-Vivante-GAL2D-support.patch"
+SRC_URI_append_mx6 = " \
+    file://0001-ENGR00314805-1-Add-Vivante-EGL-support.patch \
+    file://0002-ENGR00314805-2-Add-Vivante-GAL2D-support.patch"
 
 PACKAGECONFIG_mx6 = "fbdev egl cairo-glesv2"