Skip to contentSkip to conversation

crda: needs dynamic library support

PATCH New Gustavo Zacarias 2 participants 2 messages Jul 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crda: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/d75/d752a8d53ad9219b60113075c91c4dcc3e4027c1/

Even if the build system were fixed to deal with that it's only really useful for systemd/udev scenarios with require dynamic libs as well. For static scenarios people should look at using CONFIG_CFG80211_INTERNAL_REGDB in the kernel.

---
 package/crda/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/crda/Config.in +3 -2
index 0e0eb7f..f67ea77 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_CRDA
 	bool "crda"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_PACKAGE_LIBGCRYPT
 	select BR2_PACKAGE_LIBNL
 	# regdb is a runtime dependency
@@ -17,6 +18,6 @@ config BR2_PACKAGE_CRDA
 
 	  http://linuxwireless.org/en/developers/Regulatory/CRDA
 
-comment "crda needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "crda needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
 	depends on !BR2_nios2
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 crda: needs dynamic library support

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Fixes:
http://autobuild.buildroot.net/results/d75/d752a8d53ad9219b60113075c91c4dcc3e4027c1/

Even if the build system were fixed to deal with that it's only really useful for systemd/udev scenarios with require dynamic libs as well. For static scenarios people should look at using CONFIG_CFG80211_INTERNAL_REGDB in the kernel.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard