wireguard-tools: do not select the kernel module

unetd will select the correct kernel module.

Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-06-13 13:39:24 +02:00
parent 3ea06dac40
commit aa3cb95233
2 changed files with 30 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ define Package/unetd
SECTION:=utils
CATEGORY:=Base system
TITLE:=Wireguard network configuration service
DEPENDS:=+libubox +libubus +libblobmsg-json +libnl-tiny +TARGET_ipq807x:kmod-wireguard-backport +!TARGET_ipq807x:kmod-wireguard
DEPENDS:=+libubox +libubus +libblobmsg-json +libnl-tiny +TARGET_ipq807x:kmod-wireguard-backport +!TARGET_ipq807x:kmod-wireguard +wireguard-tools
endef
TARGET_CFLAGS += \

View File

@@ -0,0 +1,29 @@
From fcea0e786c9311e3fc6ff256ba320aaa07b6ae05 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Mon, 13 Jun 2022 13:37:17 +0200
Subject: [PATCH] wireguard-tools: do not select the kernel module
unetd will select the correct kernel module.
Signed-off-by: John Crispin <john@phrozen.org>
---
package/network/utils/wireguard-tools/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile
index 5f8da147c1..e0df0a6c67 100644
--- a/package/network/utils/wireguard-tools/Makefile
+++ b/package/network/utils/wireguard-tools/Makefile
@@ -38,8 +38,7 @@ define Package/wireguard-tools
TITLE:=WireGuard userspace control program (wg)
DEPENDS:= \
+@BUSYBOX_CONFIG_IP \
- +@BUSYBOX_CONFIG_FEATURE_IP_LINK \
- +kmod-wireguard
+ +@BUSYBOX_CONFIG_FEATURE_IP_LINK
endef
define Package/wireguard-tools/description
--
2.25.1