[Buildroot] [PATCH 1/2] package/mesa3d: add EGL_WL_bind_wayland_display support

Thomas Perale thomas.perale at mind.be
Fri Mar 27 10:03:00 UTC 2026


In reply of:
> 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 at gmail.com>

Applied to 2026.02.x. Thanks

> ---
>  package/mesa3d/Config.in | 6 ++++++
>  package/mesa3d/mesa3d.mk | 3 +++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index e1faea95d5..8a7811b6a5 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -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
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index 42693ce928..9c0e5d7256 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -209,6 +209,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 += \
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot


More information about the buildroot mailing list