From: Tom Hochstein Date: Wed, 27 Jun 2018 22:17:27 +0000 (-0500) Subject: mesa: Adjust install for files provided by imx-gpu-viv X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3877c0040381d7917983bca4406c8d4ef25b34b7;p=meta-freescale.git mesa: Adjust install for files provided by imx-gpu-viv - Remove wayland-egl.pc - Remove KHR headers Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador (cherry picked from commit 36b1840a853ed1b2d766b06b6644692e7f95d398) --- 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 }