Patchwork crda: needs threads

login
register
mail settings
Submitter Gustavo Zacarias
Date May 16, 2013, 10:40 a.m.
Message ID <1368700801-18262-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/244260/
State Accepted
Commit 2a58963ab4a5d29ec75a557f9569a5ebd3f88671
Headers show

Comments

Gustavo Zacarias - May 16, 2013, 10:40 a.m.
Because libnl needs threads, fixes:
http://autobuild.buildroot.net/results/8e32f222ddeba262ee2471d22e1c6a8afbf241c2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/crda/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - May 16, 2013, 11:05 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Because libnl needs threads, fixes:
 Gustavo> http://autobuild.buildroot.net/results/8e32f222ddeba262ee2471d22e1c6a8afbf241c2/

Committed, thanks.

Patch

diff --git a/package/crda/Config.in b/package/crda/Config.in
index 66baf14..539a5c7 100644
--- a/package/crda/Config.in
+++ b/package/crda/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_CRDA
 	bool "crda"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
 	select BR2_PACKAGE_LIBGCRYPT
 	select BR2_PACKAGE_LIBNL
 	# regdb is a runtime dependency
@@ -13,3 +14,6 @@  config BR2_PACKAGE_CRDA
 	  may operate within for a given location.
 
 	  http://linuxwireless.org/en/developers/Regulatory/CRDA
+
+comment "crda requires a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS