From 7d3828e39d422c53ee99b0c7df7d79ce96ba1100 Mon Sep 17 00:00:00 2001 From: Rui Salvaterra Date: Thu, 2 Jun 2022 14:52:54 +0100 Subject: [PATCH] wg-tools: remove strict dependency on BusyBox's ip link BusyBox's ip link is enabled in OpenWrt's default configuration. Allow disabling it when doing custom builds, if ip-{tiny,full} is enabled. Signed-off-by: Rui Salvaterra --- package/network/utils/wireguard-tools/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile index e2a86c97d8d26e..b6854d1abbba08 100644 --- a/package/network/utils/wireguard-tools/Makefile +++ b/package/network/utils/wireguard-tools/Makefile @@ -35,9 +35,8 @@ define Package/wireguard-tools MAINTAINER:=Jason A. Donenfeld TITLE:=WireGuard userspace control program (wg) DEPENDS:= \ - +@BUSYBOX_CONFIG_IP \ - +@BUSYBOX_CONFIG_FEATURE_IP_LINK \ - +kmod-wireguard + +!(BUSYBOX_CONFIG_IP||BUSYBOX_CONFIG_FEATURE_IP_LINK):ip \ + +kmod-wireguard endef define Package/wireguard-tools/description