From 5e40789fe386a5bb4c83cd8780a8bf7f7b947196 Mon Sep 17 00:00:00 2001 From: Lauren Post Date: Fri, 24 Jul 2015 10:40:48 -0500 Subject: mesa-demos: Fix so patches only install for SoC with GPU Only install patches for SoC with a GPU. Future i.MX 6UltraLite does not have a GPU. Signed-off-by: Lauren Post Signed-off-by: Otavio Salvador --- 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" -- cgit v1.2.3-54-g00ecf