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