mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-06-04 14:09:51 +00:00
mesa-gl: Let userland provide libEGL and GLESv2 when vc4 graphics is not used
When vc4graphics is not used then useland graphics provides these libraries Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1 +1,12 @@
|
||||
PACKAGECONFIG_append_rpi = " gbm"
|
||||
|
||||
do_install_append_rpi() {
|
||||
if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then
|
||||
rm -rf ${D}${libdir}/libEGL*
|
||||
rm -rf ${D}${libdir}/libGLES*
|
||||
rm -rf ${D}${libdir}/libwayland-*
|
||||
rm -rf ${D}${libdir}/pkgconfig/egl.pc ${D}${libdir}/pkgconfig/glesv2.pc \
|
||||
${D}${libdir}/pkgconfig/wayland-egl.pc
|
||||
rm -rf ${D}${includedir}/EGL ${D}${includedir}/GLES* ${D}${includedir}/KHR
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user