[meta-freescale] [meta-fsl-arm][v3 08/12] mesa-demos: Fix so patches only install for SoC with GPU
Lauren Post
lauren.post at freescale.com
Fri Jul 24 08:40:48 PDT 2015
Only install patches for SoC with a GPU. Future i.MX 6UltraLite
does not have a GPU.
Signed-off-by: Lauren Post <lauren.post at freescale.com>
---
recipes-graphics/mesa/mesa-demos_%.bbappend | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 9f675a2..65f3d53 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -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"
--
1.7.9.5
More information about the meta-freescale
mailing list