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