summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2014-04-21 19:43:55 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-21 22:19:12 +0200
commit6ef45ec14220ddbf76bc2e7722fd9114bab69528 (patch)
treeba3cfaa2711a8ec6535a8d3ada1bcd81cb921973 /package
parent467122e64a5bf6e925deba447e97170a554744df (diff)
downloadbuildroot-6ef45ec14220ddbf76bc2e7722fd9114bab69528.tar.gz
buildroot-6ef45ec14220ddbf76bc2e7722fd9114bab69528.zip
libdrm: needs threads
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>
Diffstat (limited to 'package')
-rw-r--r--package/libdrm/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 72cf5f8d0b..df95eec6c8 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -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
OpenPOWER on IntegriCloud