diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index 91bdb0d7a7..5a4d7ee871 100644 --- a/package/network/services/wireguard/Makefile +++ b/package/network/services/wireguard/Makefile @@ -50,7 +50,7 @@ endef define Package/wireguard $(call Package/wireguard/Default) TITLE:=WireGuard meta-package - DEPENDS:=+wireguard-tools +kmod-wireguard + DEPENDS:=+wireguard-tools +kmod-wireguard @LINUX_5_4 endef include $(INCLUDE_DIR)/kernel-defaults.mk @@ -73,7 +73,7 @@ define KernelPackage/wireguard CATEGORY:=Kernel modules SUBMENU:=Network Support TITLE:=WireGuard kernel module - DEPENDS:=+IPV6:kmod-udptunnel6 +kmod-udptunnel4 + DEPENDS:=+IPV6:kmod-udptunnel6 +kmod-udptunnel4 @LINUX_5_4 FILES:= $(PKG_BUILD_DIR)/src/wireguard.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoProbe,wireguard) endef