aboutsummaryrefslogtreecommitdiff
path: root/package/wireguard-linux-compat
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2020-04-10 15:34:14 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-04-24 14:37:03 +0200
commitda5afc10a45d1e1b5ab7ab6f9230ed7ba44581e7 (patch)
treefb585f4462c2f256a488ca4b26d3a097b0a745cd /package/wireguard-linux-compat
parent7cb550067baa0997a55d59781db3c42f51d76c77 (diff)
downloadbuildroot-da5afc10a45d1e1b5ab7ab6f9230ed7ba44581e7.tar.gz
buildroot-da5afc10a45d1e1b5ab7ab6f9230ed7ba44581e7.tar.bz2
package/wireguard-linux-compat: depend on headers < 5.6
Since wireguard is built into kernels 5.6 and later we can't build wireguard-linux-compat on them, so we need to depend on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/wireguard-linux-compat')
-rw-r--r--package/wireguard-linux-compat/Config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/wireguard-linux-compat/Config.in b/package/wireguard-linux-compat/Config.in
index 4ee214be63..6e41a0951b 100644
--- a/package/wireguard-linux-compat/Config.in
+++ b/package/wireguard-linux-compat/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT
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
@@ -20,4 +22,6 @@ config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT
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