config BR2_PACKAGE_MESA3D_DRI_DRIVER
select BR2_PACKAGE_MESA3D_DRIVER
- select BR2_PACKAGE_HAS_LIBGL
+ select BR2_PACKAGE_HAS_LIBGL if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO
select BR2_PACKAGE_XPROTO_PRESENTPROTO if BR2_PACKAGE_XPROTO_DRI3PROTO
bool
config BR2_PACKAGE_PROVIDES_LIBGL
- default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
+ default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER && \
+ BR2_PACKAGE_XORG7
config BR2_PACKAGE_MESA3D_DRIVER
bool
comment "DRI drivers need X.Org"
depends on !BR2_PACKAGE_XORG7
-if BR2_PACKAGE_XORG7
-
comment "DRI drivers"
config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
help
Legacy Radeon driver for R100 series GPUs.
-endif # BR2_PACKAGE_XORG7
-
comment "Off-screen Rendering"
config BR2_PACKAGE_MESA3D_OSMESA
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
MESA3D_DEPENDENCIES += xlib_libXxf86vm
endif
+# libGL is only provided for a full xorg stack
+ifeq ($(BR2_PACKAGE_XORG7),y)
MESA3D_PROVIDES += libgl
+endif
MESA3D_CONF_OPTS += \
--enable-shared-glapi \
--enable-driglx-direct \