xref: /OK3568_Linux_fs/buildroot/package/libssh/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBSSH
2	bool "libssh"
3	depends on BR2_USE_MMU # fork()
4	depends on !BR2_STATIC_LIBS
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT)
7	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
8	help
9	  libssh is a multiplatform C library implementing the SSHv2
10	  and SSHv1 protocol on client and server side. With libssh,
11	  you can remotely execute programs, transfer files, use a
12	  secure and transparent tunnel for your remote applications.
13
14	  http://www.libssh.org/
15
16if BR2_PACKAGE_LIBSSH
17
18config BR2_PACKAGE_LIBSSH_SERVER
19	bool "server"
20	help
21	  Enable libssh server support
22
23choice
24	prompt "Crypto Backend"
25	help
26	  Select crypto library to be used in libssh.
27
28config BR2_PACKAGE_LIBSSH_MBEDTLS
29	bool "mbedtls"
30	depends on BR2_PACKAGE_MBEDTLS
31
32config BR2_PACKAGE_LIBSSH_LIBGCRYPT
33	bool "gcrypt"
34	depends on BR2_PACKAGE_LIBGCRYPT
35
36config BR2_PACKAGE_LIBSSH_OPENSSL
37	bool "openssl"
38	depends on BR2_PACKAGE_OPENSSL
39
40endchoice
41
42endif
43
44comment "libssh needs a toolchain w/ dynamic library, threads"
45	depends on BR2_USE_MMU
46	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
47