]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa-demos: Fix so patches only install for SoC with GPU
authorLauren Post <lauren.post@freescale.com>
Fri, 24 Jul 2015 15:40:48 +0000 (10:40 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Jul 2015 02:26:59 +0000 (23:26 -0300)
Only install patches for SoC with a GPU.  Future i.MX 6UltraLite
does not have a GPU.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/mesa/mesa-demos_%.bbappend

index 9f675a25be09c5607d06a574cbb2e10ac96643f5..65f3d53ba03c323d7c5614f3b5109e5c2c43c7cf 100644 (file)
@@ -1,6 +1,12 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \
-                       file://fix-clear-build-break.patch"
+MESA-DEMO-PATCH = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \
+                    file://fix-clear-build-break.patch"
+
+# only apply patches on mx6 that have a GPU
+SRC_URI_append_mx6q  = " ${MESA-DEMO-PATCH}"
+SRC_URI_append_mx6dl = " ${MESA-DEMO-PATCH}"
+SRC_URI_append_mx6sx = " ${MESA-DEMO-PATCH}"
+SRC_URI_append_mx6sl = " ${MESA-DEMO-PATCH}"
 
 PACKAGECONFIG_remove_mx6sl = "gles1 gles2"