xref: /OK3568_Linux_fs/buildroot/package/wireguard-linux-compat/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_WIREGUARD_LINUX_COMPAT
2*4882a593Smuzhiyun	bool "wireguard linux-compat"
3*4882a593Smuzhiyun	depends on BR2_LINUX_KERNEL
4*4882a593Smuzhiyun	# kernel module requires 3.10+
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
6*4882a593Smuzhiyun	# kernel module in upstream linux since 5.6
7*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  WireGuard is an extremely simple yet fast and modern VPN
10*4882a593Smuzhiyun	  that utilizes state-of-the-art cryptography. It aims to be
11*4882a593Smuzhiyun	  faster, simpler, leaner, and more useful than IPSec, while
12*4882a593Smuzhiyun	  avoiding the massive headache. It intends to be considerably
13*4882a593Smuzhiyun	  more performant than OpenVPN. WireGuard is designed as a
14*4882a593Smuzhiyun	  general purpose VPN for running on embedded interfaces and
15*4882a593Smuzhiyun	  super computers alike, fit for many different
16*4882a593Smuzhiyun	  circumstances.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	  Support for WireGuard is included in Linux 5.6+. This
19*4882a593Smuzhiyun	  package provides a backport of the kernel support for older
20*4882a593Smuzhiyun	  kernels.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  https://www.wireguard.com
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuncomment "wireguard-linux-compat needs a Linux kernel to be built"
25*4882a593Smuzhiyun	depends on !BR2_LINUX_KERNEL
26*4882a593Smuzhiyun
27*4882a593Smuzhiyuncomment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10"
28*4882a593Smuzhiyun	depends on BR2_LINUX_KERNEL
29*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
30