package/mesa3d: Only one swrast provider can be built
authorRomain Naour <romain.naour@smile.fr>
Fri, 20 Sep 2019 16:38:40 +0000 (18:38 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 21 Sep 2019 14:56:13 +0000 (16:56 +0200)
https://cgit.freedesktop.org/mesa/mesa/commit/?id=de24d61765011ed4bfc169b8ad8cf67e86b1f3bd

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mesa3d/Config.in

index 77ac0469e9b9fc5b92a92d130d42cd0180c06bc2..1f5f221337f1c969f2ee786a29d56443fedf80b8 100644 (file)
@@ -173,11 +173,15 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
 
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
        bool "Gallium swrast driver"
+       depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
        select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
        help
          This is a software opengl implementation using the Gallium3D
          infrastructure.
 
+comment "Gallium swrast: Only one swrast provider can be built"
+       depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
+
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
        bool "Gallium vc4 driver"
        depends on BR2_arm || BR2_aarch64