diff mbox

crda: needs dynamic library support

Message ID 1404305508-30330-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 7c08fa935f55d108e20834e6b4bba664e1d2d408
Headers show

Commit Message

Gustavo Zacarias July 2, 2014, 12:51 p.m. UTC
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.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/crda/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard July 2, 2014, 3:11 p.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> 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.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/package/crda/Config.in b/package/crda/Config.in
index 0e0eb7f..f67ea77 100644
--- a/package/crda/Config.in
+++ b/package/crda/Config.in
@@ -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