]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Adjust install for files provided by imx-gpu-viv
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 27 Jun 2018 22:17:27 +0000 (17:17 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 29 Jun 2018 17:19:23 +0000 (14:19 -0300)
- Remove wayland-egl.pc
- Remove KHR headers

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 36b1840a853ed1b2d766b06b6644692e7f95d398)

recipes-graphics/mesa/mesa_%.bbappend

index 742d2e1a16f4ad73ffdd16b851577c9373b1ccc0..48dfa33138dbf641100d5d17cf63eef0c5239ea4 100644 (file)
@@ -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
 }