From 05b6f15ae82d926b016c32e0f60bfd0b4463f27e Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 14 May 2022 19:56:00 +0200 Subject: [PATCH] package/x11r7/xdriver_xf86-video-imx-viv: switch dependency from mesa3d to libgl 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. Also fix a typo in the Config.in help text while being at it. Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/x11r7/xdriver_xf86-video-imx-viv/Config.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in index 13cee14deb..984f63d6d3 100644 --- a/package/x11r7/xdriver_xf86-video-imx-viv/Config.in +++ b/package/x11r7/xdriver_xf86-video-imx-viv/Config.in @@ -1,10 +1,9 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV bool "xf86-video-imx-viv" + depends on BR2_PACKAGE_HAS_LIBGL depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 depends on BR2_PACKAGE_IMX_GPU_G2D depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d - select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri - select BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_XORGPROTO help @@ -26,7 +25,12 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV Don't forget to load galcore.ko and create /dev/galcore before using this driver (else, Xorg will exit with an - obscur message like "Segmentation fault at address 0xc"). + obscure message like "Segmentation fault at address 0xc"). + +comment "xf86-video-imx-viv needs an OpenGL backend" + depends on BR2_arm + depends on !BR2_PACKAGE_HAS_LIBGL + depends on BR2_TOOLCHAIN_HAS_SYNC_1 comment "xf86-video-imx-viv depends on imx-gpu-viv with X11 output" depends on BR2_arm