summaryrefslogtreecommitdiffstats
path: root/package/mesa3d
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-04-17 18:04:17 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-17 22:56:25 +0200
commitc65d7e55a6a9a02f39976fb06e400eb3aefde160 (patch)
treebe6a4dc844b87d17f760517bcbd6cb0a2eaf767d /package/mesa3d
parent7c4765f574ffa5a81d67413c7caaa0e83b60520f (diff)
package/mesa3d: DRI drivers depend on X.org
It does not make sense to build DRI drivers without X.org. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mesa3d')
-rw-r--r--package/mesa3d/Config.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 801a203c1..3a2766b81 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -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