depends on BR2_LINUX_KERNEL
# kernel module requires 3.10+
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
+ # kernel module incompatible with 5.6+
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
help
WireGuard is an extremely simple yet fast and modern VPN
that utilizes state-of-the-art cryptography. It aims to be
https://www.wireguard.com
comment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10"
- depends on BR2_LINUX_KERNEL && !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
+ depends on BR2_LINUX_KERNEL
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10