[Buildroot] [git commit] package/x11r7/xdriver_xf86-video-nouveau: switch dependency from mesa3d to libgl

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Mon Jun 6 20:36:03 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=34d157af56c74cd69bd6a6472d1e2f571161a8d7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

DRI support for this driver is provided by the xserver_xorg-server
package when BR2_PACKAGE_HAS_LIBGL is enabled:
https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n91

Change the dependency to follow the logic of xserver_xorg-server.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/x11r7/xdriver_xf86-video-nouveau/Config.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/package/x11r7/xdriver_xf86-video-nouveau/Config.in
index c9fd2e3d2f..5b266b1b4a 100644
--- a/package/x11r7/xdriver_xf86-video-nouveau/Config.in
+++ b/package/x11r7/xdriver_xf86-video-nouveau/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
 	bool "xf86-video-nouveau"
-	depends on BR2_PACKAGE_MESA3D
-	select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
+	depends on BR2_PACKAGE_HAS_LIBGL
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_LIBDRM_NOUVEAU
 	select BR2_PACKAGE_XORGPROTO
@@ -10,5 +9,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
 
 	  http://nouveau.freedesktop.org
 
-comment "xf86-video-nouveau needs mesa3d"
-	depends on !BR2_PACKAGE_MESA3D
+comment "xf86-video-nouveau needs an OpenGL backend"
+	depends on !BR2_PACKAGE_HAS_LIBGL



More information about the buildroot mailing list