Skip to contentSkip to conversation

libdrm: needs threads

PATCH New Romain Naour 3 participants 3 messages Apr 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libdrm: needs threads

libdrm select libpthread-stubs that needs threads support.

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

---
v2: Fix display comment (Yann)

---
 package/libdrm/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libdrm/Config.in +3 -2
index 72cf5f8..df95eec 100644
@@ -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
Signature · 1 line
1.9.0
#1 lore raw

PATCH v2 1/1 libdrm: needs threads

Romain, All,

On 2014-04-21 19:43 +0200, Romain Naour spake thusly:

Quoted 6 lines

libdrm select libpthread-stubs that needs threads support.

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

Regards,
Yann E. MORIN.

Quoted 33 lines

---
v2: Fix display comment (Yann)

---
 package/libdrm/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libdrm/Config.in +3 -2
index 72cf5f8..df95eec 100644
@@ -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
Signature · 6 lines
1.9.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH v2 1/1 libdrm: needs threads

In reply to Romain Naour

Dear Romain Naour,

Quoted 8 lines · Romain Naour

libdrm select libpthread-stubs that needs threads support.

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

---
v2: Fix display comment (Yann)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com