![Peter Korsgaard](/assets/img/avatar_default.png)
Fixes a build issue with linux-rt >= 5.4. For details, see the announcement: https://lists.zx2c4.com/pipermail/wireguard/2020-December/006210.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
861 B
Makefile
24 lines
861 B
Makefile
################################################################################
|
|
#
|
|
# wireguard
|
|
#
|
|
################################################################################
|
|
|
|
WIREGUARD_LINUX_COMPAT_VERSION = 1.0.20201221
|
|
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
|
|
|
|
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))
|