package/mesa3d: depend on udev
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 11 Jun 2014 17:41:48 +0000 (19:41 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 Jun 2014 20:11:31 +0000 (22:11 +0200)
checking for LIBUDEV... no
configure: error: libudev-dev required for building DRI

Fixes
http://autobuild.buildroot.net/results/16d/16d12b986051db884eae86e9658e6c4fc0f28885/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mesa3d/Config.in

index 6621154d48cb07f29f98bb9780b054de9b50885d..e698b3ebf74ebdf1968becfe94807ef669945133 100644 (file)
@@ -10,6 +10,7 @@ menuconfig BR2_PACKAGE_MESA3D
        select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XSERVER_XORG_SERVER
        select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XSERVER_XORG_SERVER
        select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XSERVER_XORG_SERVER
+       depends on BR2_PACKAGE_HAS_UDEV
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
@@ -125,6 +126,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
 
 endif # BR2_PACKAGE_MESA3D
 
-comment "mesa3d needs a toolchain w/ C++, largefile, NPTL"
+comment "mesa3d needs udev /dev management and a toolchain w/ C++, largefile, NPTL"
        depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV