[Buildroot] [PATCH v6 2/5] mesa3d: modularize and bump to version 10.0.4
Sebastien Bourdelin
sebastien.bourdelin at savoirfairelinux.com
Thu Mar 13 19:30:37 UTC 2014
Hi bernd,
Just some typo to fix,
but ok for me.
Tested on an intel graphic card, with X using GLX and without X using EGL.
On 03/12/2014 03:42 PM, Bernd Kuhls wrote:
> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
> index 0ce168e..30e8feb 100644
> --- a/package/mesa3d/Config.in
> +++ b/package/mesa3d/Config.in
> @@ -1,14 +1,118 @@
> config BR2_PACKAGE_MESA3D
> bool "Mesa 3D Graphics Library"
> - select BR2_PACKAGE_XPROTO_GLPROTO
> - select BR2_PACKAGE_XLIB_LIBXXF86VM
> - select BR2_PACKAGE_XLIB_LIBXDAMAGE
> - select BR2_PACKAGE_XLIB_LIBXFIXES
> - select BR2_PACKAGE_XPROTO_DRI2PROTO
> select BR2_PACKAGE_LIBDRM
> select BR2_PACKAGE_EXPAT
> select BR2_PACKAGE_HOST_LIBXML2_PYTHON
> - depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
> + select BR2_PACKAGE_XPROTO_DRI2_PROTO if BR2_PACKAGE_XSERVER_XORG_SERVER
Typo here, must be : BR2_PACKAGE_XPROTO_DRI2PROTO
> +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
> +# egl depends on gbm, gbm depends on udev
> +MESA3D_DEPENDENCIES += udev
> +MESA3D_EGL_PLATFORMS = drm
> +ifeq ($(BR2_PACKAGE_WAYLAND),y)
> +MESA3D_DEPENDENCIES += wayland
> +MESA3D_EGL_PLATFORMS += wayland
> +endif
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER),y)
> +MESA3D_EGL_PLATFORMS += x11
> +endif
> +MESA3D_CONF_OPT += \
> + --enable-gbm \
> + --enable-egl \
> + --with-egl-platforms=$(foreach subst $(space),$(comma),$(MESA3D_EGL_PLATFORMS))
need quotes around the foreach for multiple selection ( example:
--with-egl-platform='drm x11')
Reviewed-by: Sebastien Bourdelin <sebastien.bourdelin at savoirfairelinux.com>
Regards,
Sebastien.
More information about the buildroot
mailing list