aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-04-04 14:10:32 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-05-01 15:50:29 +0200
commitb294165e01f9982b39405a9e00753883088d2c5f (patch)
tree6512e9d0d7010a47df45d6e386994bd279c2c2bb /package
parent0d8e61e827ecf4276e787941fb4d35ccdefcaaee (diff)
downloadbuildroot-b294165e01f9982b39405a9e00753883088d2c5f.tar.gz
buildroot-b294165e01f9982b39405a9e00753883088d2c5f.tar.bz2
package/wireguard-linux-compat: bear the kernel options munging
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/wireguard-linux-compat/wireguard-linux-compat.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/wireguard-linux-compat/wireguard-linux-compat.mk b/package/wireguard-linux-compat/wireguard-linux-compat.mk
index 27f5981ae3..6d90245bd2 100644
--- a/package/wireguard-linux-compat/wireguard-linux-compat.mk
+++ b/package/wireguard-linux-compat/wireguard-linux-compat.mk
@@ -11,5 +11,13 @@ WIREGUARD_LINUX_COMPAT_LICENSE = GPL-2.0
WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING
WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src
+define WIREGUARD_LINUX_COMPAT_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_INET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER)
+endef
+
$(eval $(kernel-module))
$(eval $(generic-package))