From: Lauren Post Date: Fri, 24 Jul 2015 15:40:48 +0000 (-0500) Subject: mesa-demos: Fix so patches only install for SoC with GPU X-Git-Tag: 2.1~470 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fe4d173a7931c468984d30deb62f5c907706239b;p=meta-freescale.git 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 --- diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 9f675a25..65f3d53b 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"