summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc
deleted file mode 100644
index d290c3c73..000000000
--- a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/mesa/mesa-wayland.inc
+++ /dev/null
@@ -1,36 +0,0 @@
-# FIXME: can not override PACKAGECONFIG.
-PACKAGECONFIG[gles] = "--enable-gles1 --disable-gles2"
-PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=wayland"
-
-# Disable the gbm modules of mesa
-EXTRA_OECONF_rcar-gen3 := \
- "${@'${EXTRA_OECONF}'.replace('--enable-gbm', '--disable-gbm')}"
-# Remove the gbm and egl packages. These are provided in other recipes.
-PACKAGES_remove_rcar-gen3 = " \
- libgbm-dev libgbm \
- libegl-mesa-dev libegl-mesa \
- libegl-dev libegl \
- libgles2-mesa libgles2-mesa-dev \
-"
-INSTALLED_HEADER = "src/egl/wayland/wayland-egl/wayland-egl-priv.h"
-
-# Remove the x11 configure
-PACKAGECONFIG_rcar-gen3 := "${@'${PACKAGECONFIG}'.replace('x11', '')}"
-
-do_install_append_rcar-gen3() {
- # Remove libegl-mesa modules and headers
- rm -f ${D}/${libdir}/libEGL.la
- rm -f ${D}/${libdir}/libEGL.so*
- rm -f ${D}/${libdir}/pkgconfig/egl.pc
- rm -rf ${D}/${includedir}/EGL
- rm -rf ${D}/${includedir}/KHR
-
- # install required header for wayland
- install -d ${D}/usr/include
- install -m 644 ${S}/${INSTALLED_HEADER} ${D}/usr/include/
-}
-
-FILES_libwayland-egl-dev += " \
- /usr/include \
- /usr/include/*.h \
-"