[meta-freescale] [PATCH 02/26] mesa: Adjust install for files provided by imx-gpu-viv

Otavio Salvador otavio at ossystems.com.br
Thu Jun 28 10:45:31 PDT 2018


From: Tom Hochstein <tom.hochstein at nxp.com>

- Remove wayland-egl.pc
- Remove KHR headers

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

Changes in v4:
- New patch

Changes in v3: None
Changes in v2: None

 recipes-graphics/mesa/mesa_%.bbappend | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 742d2e1a..48dfa331 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -34,10 +34,9 @@ do_install_append_imxgpu3d () {
     fi
 }
 
-do_install_append_imxgpu2d () {
-    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
-}
-
-do_install_append_imxgpu2d () {
-    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
+do_install_append_imxgpu () {
+    rm -f ${D}${includedir}/KHR
+    if [ "${BACKEND}" = "wayland" ]; then
+        rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
+    fi
 }
-- 
2.18.0



More information about the meta-freescale mailing list