From: Bernd Kuhls Date: Wed, 23 Oct 2019 06:22:20 +0000 (+0200) Subject: package/x11r7/xserver_xorg-server: switch to virtual opengl provider X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec48b624b7bd7c675d187aa872ed1e2a03cb6995;p=buildroot.git package/x11r7/xserver_xorg-server: switch to virtual opengl provider This allows to use xserver_xorg-server without mesa3d. Build-tested using this defconfig: BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_NVIDIA_DRIVER=y Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index 41c82ad930..8ccc04224d 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -120,9 +120,9 @@ else # modular XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive --disable-xfbdev endif -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y) +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx -XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d +XSERVER_XORG_SERVER_DEPENDENCIES += libgl else XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx endif