aboutsummaryrefslogtreecommitdiff
path: root/package/mesa3d/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/mesa3d/Config.in')
-rw-r--r--package/mesa3d/Config.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index a12ed641a6..a96fd46bbe 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -4,8 +4,8 @@ menuconfig BR2_PACKAGE_MESA3D
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_1
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
- select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_EXPAT
+ select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_ZLIB
help
@@ -370,7 +370,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
Support for Nvidia-based GPUs.
config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
- bool "DRI radeon driver"
+ bool "DRI radeon r100 driver"
+ depends on BR2_i386 || BR2_x86_64
+ # libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating
+ # that dependency here causes a circular dependency that Kconfig
+ # can't see is just spurious. However, that dependency is about
+ # the toolchain having sync4 primitives, which is always a given
+ # for i386 and x86_64.
select BR2_PACKAGE_MESA3D_DRI_DRIVER
select BR2_PACKAGE_LIBDRM_RADEON
help