Skip to content

Commit 66c2132

Browse files
RomainNaourtpetazzoni
authored andcommitted
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>
1 parent 631cb7e commit 66c2132

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package/libdrm/Config.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
config BR2_PACKAGE_LIBDRM
22
bool "libdrm"
33
select BR2_PACKAGE_LIBPTHREAD_STUBS
4+
depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
45
depends on BR2_LARGEFILE
56
help
67
Direct Rendering Manager
@@ -59,5 +60,5 @@ endmenu
5960

6061
endif
6162

62-
comment "libdrm needs a toolchain w/ largefile"
63-
depends on !BR2_LARGEFILE
63+
comment "libdrm needs a toolchain w/ largefile, threads"
64+
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS

0 commit comments

Comments
 (0)