crda: needs dynamic library support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 2 Jul 2014 12:51:48 +0000 (09:51 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 2 Jul 2014 15:10:59 +0000 (17:10 +0200)
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/crda/Config.in

index 0e0eb7f342896584b6e981b8e0673419f8da5464..f67ea777752c6fe0c17b3dff46c2b2c92ad604fd 100644 (file)
@@ -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