package/mesa3d: add EGL_WL_bind_wayland_display support

This feature was made optional in mesa3d 25.2.0 as it is deprecated,
however some packages still require it so lets add a new config
option that those packages can select until they no longer require
this feature.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
James Hilliard
2026-02-17 23:31:22 -07:00
committed by Romain Naour
parent 3a5e70d1d1
commit 0260741639
2 changed files with 9 additions and 0 deletions

View File

@@ -50,6 +50,12 @@ comment "llvm support needs a toolchain not affected by GCC bug 64735"
depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
config BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY
bool "Legacy Wayland EGL_WL_bind_wayland_display support"
depends on BR2_PACKAGE_WAYLAND
help
Legacy Wayland EGL_WL_bind_wayland_display support.
menuconfig BR2_PACKAGE_MESA3D_OPENCL
bool "OpenCL support"
depends on BR2_PACKAGE_MESA3D_LLVM

View File

@@ -212,6 +212,9 @@ endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
MESA3D_DEPENDENCIES += wayland wayland-protocols
MESA3D_PLATFORMS += wayland
ifeq ($(BR2_PACKAGE_MESA3D_LEGACY_BIND_WAYLAND_DISPLAY),y)
MESA3D_CONF_OPTS += -Dlegacy-wayland=bind-wayland-display
endif
endif
MESA3D_CONF_OPTS += \