Skip to content

Commit

Permalink
wg-tools: remove strict dependency on BusyBox's ip link
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rsalvaterra committed Mar 3, 2024
1 parent 033a275 commit 7d3828e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package/network/utils/wireguard-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ define Package/wireguard-tools
MAINTAINER:=Jason A. Donenfeld <[email protected]>
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
Expand Down

0 comments on commit 7d3828e

Please sign in to comment.