[Buildroot] [PATCH 11/19] package/x11r7/xdriver_xf86-video-nouveau: switch dependency from mesa3d to libgl

Bernd Kuhls bernd.kuhls at t-online.de
Sat May 14 17:56:04 UTC 2022


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>
---
 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
-- 
2.30.2




More information about the buildroot mailing list