summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-25 15:46:16 -0800
committerAndrei Gherzan <andrei@gherzan.ro>2019-03-05 12:19:25 +0000
commit7e5fb3fca8191b0c628d02edb55d11e61a8ab947 (patch)
treec482d31e6dd6f285925494631b7cb44cc271afb0 /recipes-graphics
parentc7e7f0b762107d92fdf249481d6d00536cff5305 (diff)
downloadmeta-raspberrypi-7e5fb3fca8191b0c628d02edb55d11e61a8ab947.tar.gz
mesa-gl: Delete only KHR/khrplatform.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa-gl_%.bbappend9
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend b/recipes-graphics/mesa/mesa-gl_%.bbappend
index 3399bc6..08ec1c5 100644
--- a/recipes-graphics/mesa/mesa-gl_%.bbappend
+++ b/recipes-graphics/mesa/mesa-gl_%.bbappend
@@ -2,12 +2,5 @@ PACKAGECONFIG_append_rpi = " gbm"
2PROVIDES_append_rpi = " virtual/libgbm" 2PROVIDES_append_rpi = " virtual/libgbm"
3 3
4do_install_append_rpi() { 4do_install_append_rpi() {
5 if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then 5 rm -rf ${D}${includedir}/KHR/khrplatform.h
6 rm -rf ${D}${libdir}/libEGL*
7 rm -rf ${D}${libdir}/libGLES*
8 rm -rf ${D}${libdir}/libwayland-*
9 rm -rf ${D}${libdir}/pkgconfig/egl.pc ${D}${libdir}/pkgconfig/glesv2.pc \
10 ${D}${libdir}/pkgconfig/wayland-egl.pc
11 rm -rf ${D}${includedir}/EGL ${D}${includedir}/GLES* ${D}${includedir}/KHR
12 fi
13} 6}