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 <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls
2022-05-14 19:56:00 +02:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent 82fb054745
commit 05b6f15ae8

View File

@@ -1,10 +1,9 @@
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
bool "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_VIV_OUTPUT_X11
depends on BR2_PACKAGE_IMX_GPU_G2D depends on BR2_PACKAGE_IMX_GPU_G2D
depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d 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_LIBDRM
select BR2_PACKAGE_XORGPROTO select BR2_PACKAGE_XORGPROTO
help help
@@ -26,7 +25,12 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
Don't forget to load galcore.ko and create /dev/galcore Don't forget to load galcore.ko and create /dev/galcore
before using this driver (else, Xorg will exit with an 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" comment "xf86-video-imx-viv depends on imx-gpu-viv with X11 output"
depends on BR2_arm depends on BR2_arm