2020-01-09 10:16:19 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# wireguard
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-11-13 11:01:23 +01:00
|
|
|
WIREGUARD_LINUX_COMPAT_VERSION = 1.0.20201112
|
2020-01-09 10:16:19 +01:00
|
|
|
WIREGUARD_LINUX_COMPAT_SITE = https://git.zx2c4.com/wireguard-linux-compat/snapshot
|
|
|
|
WIREGUARD_LINUX_COMPAT_SOURCE = wireguard-linux-compat-$(WIREGUARD_LINUX_COMPAT_VERSION).tar.xz
|
|
|
|
WIREGUARD_LINUX_COMPAT_LICENSE = GPL-2.0
|
|
|
|
WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING
|
|
|
|
WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src
|
|
|
|
|
2020-04-04 14:10:32 +02:00
|
|
|
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
|
|
|
|
|
2020-01-09 10:16:19 +01:00
|
|
|
$(eval $(kernel-module))
|
|
|
|
$(eval $(generic-package))
|