Commit c65d7e55 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Thomas Petazzoni
Browse files

package/mesa3d: DRI drivers depend on X.org



It does not make sense to build DRI drivers without X.org.

Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7c4765f5
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -56,10 +56,10 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
	  This is a software opengl implementation using the Gallium3D
	  infrastructure.

comment "DRI drivers needs a toolchain w/ dynamic library"
	depends on BR2_PREFER_STATIC_LIB
comment "DRI drivers needs an X.Org server and a toolchain w/ dynamic library"
	depends on BR2_PREFER_STATIC_LIB || !BR2_PACKAGE_XSERVER_XORG_SERVER

if !BR2_PREFER_STATIC_LIB
if !BR2_PREFER_STATIC_LIB && BR2_PACKAGE_XSERVER_XORG_SERVER

comment "DRI drivers"

@@ -73,7 +73,6 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
	bool "DRI i965 driver"
	depends on BR2_i386 || BR2_x86_64
	depends on BR2_PACKAGE_XORG7
	select BR2_PACKAGE_MESA3D_DRI_DRIVER
	select BR2_PACKAGE_LIBDRM_INTEL
	help
@@ -87,7 +86,7 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
	help
	  Legacy Radeon driver for R100 series GPUs.

endif # !BR2_PREFER_STATIC_LIB
endif # !BR2_PREFER_STATIC_LIB && BR2_PACKAGE_XSERVER_XORG_SERVER

if BR2_PACKAGE_MESA3D_DRIVER