libdrm: needs threads
authorRomain Naour <romain.naour@openwide.fr>
Mon, 21 Apr 2014 17:43:55 +0000 (19:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 21 Apr 2014 20:19:12 +0000 (22:19 +0200)
libdrm select libpthread-stubs that needs threads support.

Fixes:
http://autobuild.buildroot.net/results/1da/1dad13110312a44b40b9ee4050b265de1f3c8a42/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libdrm/Config.in

index 72cf5f8d0bb2cf64eb8f51748fb55c7f7d7f3d82..df95eec6c81668d38f1137602322183a62fb2e6d 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBDRM
        bool "libdrm"
        select BR2_PACKAGE_LIBPTHREAD_STUBS
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
        depends on BR2_LARGEFILE
        help
          Direct Rendering Manager
@@ -59,5 +60,5 @@ endmenu
 
 endif
 
-comment "libdrm needs a toolchain w/ largefile"
-       depends on !BR2_LARGEFILE
+comment "libdrm needs a toolchain w/ largefile, threads"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS