xref: /OK3568_Linux_fs/buildroot/package/fastd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_FASTD
2*4882a593Smuzhiyun	bool "fastd"
3*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork()
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
5*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # libuecc
6*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUECC
7*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSODIUM
8*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSODIUM_FULL
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Fast and Secure Tunneling Daemon
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  https://github.com/NeoRaider/fastd/wiki
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif BR2_PACKAGE_FASTD
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig BR2_PACKAGE_FASTD_STATUS_SOCKET
17*4882a593Smuzhiyun	bool "status socket support"
18*4882a593Smuzhiyun	default y
19*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
20*4882a593Smuzhiyun	select BR2_PACKAGE_JSON_C
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Enable support for a socket to get fastd's status.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_PACKAGE_FASTD_OFFLOAD_L2TP
25*4882a593Smuzhiyun	bool "l2tp offload support"
26*4882a593Smuzhiyun	select BR2_PACKAGE_LIBMNL
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  L2TP can be offloaded to the Linux kernel, significantly
29*4882a593Smuzhiyun	  increasing throughput.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunendif
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncomment "fastd needs a toolchain w/ threads, dynamic library"
34*4882a593Smuzhiyun	depends on BR2_USE_MMU
35*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS \
36*4882a593Smuzhiyun		|| BR2_STATIC_LIBS
37