rtmpdump: workaround kconfig issue by defaulting to gnutls
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 22 Jan 2014 23:51:19 +0000 (00:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 22 Jan 2014 23:51:19 +0000 (00:51 +0100)
Otherwise we get:

package/openssl/Config.in:1:error: recursive dependency detected!
package/openssl/Config.in:1:    symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_GNUTLS
package/gnutls/Config.in:1:     symbol BR2_PACKAGE_GNUTLS is selected by BR2_PACKAGE_OPENSSL

Which is caused by lftp doing:

  select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_OPENSSL

And rtmpdump doing:

  select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS

Which confuses kconfig. Work around it by swapping gnutls and openssl in
rtmpdump so it matches lftp.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rtmpdump/Config.in

index d13c55b077a95e2b0b769bf7dc957e4725aabb48..c37118a458849015d980471027a254dd7ba5340a 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_RTMPDUMP
        bool "librtmp"
        select BR2_PACKAGE_ZLIB
-       select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS
+       select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_OPENSSL
        help
          rtmpdump - RTMPDump Real-Time Messaging Protocol API
          Only librtmp is installed by this package.