The reason why the external wireguard kernel module is not allowed with
kernel headers >= 5.6 is that wireguard is included in the upstream kernel
since 5.6 rather than some kind of (fixable) incompatibility issue. Adjust
the comment to make that clear.
While we're at it, drop the redundant !5.6 dependency on the kernel headers
dependency comment. If headers are older than 3.10, then they are also
older than 5.6, so the statement is redundant.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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+
+ # kernel module in upstream linux since 5.6
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
help
WireGuard is an extremely simple yet fast and modern VPN
comment "wireguard-linux-compat needs a toolchain w/ headers >= 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