[Buildroot] [git commit branch/2021.02.x] package/wireguard-linux-compat: add missing comment about kernel dependency
Peter Korsgaard
peter at korsgaard.com
Fri Oct 22 18:42:15 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=cad006e8100c8083996be892002c67c8f2b34e81
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x
Add a comment when kernel is not enabled (missing since the addition of
the package in commit de591c5c3a93a40d049a32bd79c30cc66daf5fb2)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 5eedd33368eedc22bbc542e870af677d0b3da834)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/wireguard-linux-compat/Config.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/wireguard-linux-compat/Config.in b/package/wireguard-linux-compat/Config.in
index 5a323a35e5..4e8e95bdc3 100644
--- a/package/wireguard-linux-compat/Config.in
+++ b/package/wireguard-linux-compat/Config.in
@@ -21,6 +21,9 @@ config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT
https://www.wireguard.com
+comment "wireguard-linux-compat needs a Linux kernel to be built"
+ depends on !BR2_LINUX_KERNEL
+
comment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10"
depends on BR2_LINUX_KERNEL
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
More information about the buildroot
mailing list