aboutsummaryrefslogtreecommitdiff
path: root/package/mesa3d/Config.in
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2020-05-26 14:24:37 -0600
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-05-26 22:44:31 +0200
commit00c1a8c34f7340c2db6eee82cd8d3f5e6ea62577 (patch)
treea2eb757c4cd19b6eca17f7bab53ecc4df1df4932 /package/mesa3d/Config.in
parentfa84c176c2148a60103e850204180f86aa5baa73 (diff)
downloadbuildroot-00c1a8c34f7340c2db6eee82cd8d3f5e6ea62577.tar.gz
buildroot-00c1a8c34f7340c2db6eee82cd8d3f5e6ea62577.tar.bz2
package/mesa3d: propagate missing libdrm-freedreno deps
Libdrm freedreno depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be as such we need to propagate those dependencies to mesa's gallium freedreno driver. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/mesa3d/Config.in')
-rw-r--r--package/mesa3d/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index dd512d9b76..11d04b7a3f 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -111,6 +111,12 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
bool "Gallium freedreno driver"
+ depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be # libdrm-freedreno
+ # libdrm's freedreno 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 arm/aarch64.
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
select BR2_PACKAGE_LIBDRM_FREEDRENO
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO