diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2020-11-05 11:37:16 +0000 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-11-14 17:46:35 +0100 |
commit | c63908afd282ccbe3cbcafae170e32f8f021bdb9 (patch) | |
tree | ae21676e737d945960f1857f0c2c432626417725 | |
parent | d31da371ac2ac2162c41fb6071ddbebccb44f6b0 (diff) | |
download | upstream-c63908afd282ccbe3cbcafae170e32f8f021bdb9.tar.gz upstream-c63908afd282ccbe3cbcafae170e32f8f021bdb9.tar.bz2 upstream-c63908afd282ccbe3cbcafae170e32f8f021bdb9.zip |
wireguard-tools: drop the dependency on ip-{tiny,full}
BusyBox ip already provides the required functionality and is enabled by default
in OpenWrt. This patch drops the ip dependency and makes the BusyBox ip required
dependencies explicit, allowing for a significant image size reduction.
openwrt-ath79-generic-ubnt_nanostation-loco-m-squashfs-sysupgrade.bin size:
4588354 bytes (with ip-tiny)
4457282 bytes (with BusyBox ip)
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
-rw-r--r-- | package/network/utils/wireguard-tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile index a5264a50b4..07258fde98 100644 --- a/package/network/utils/wireguard-tools/Makefile +++ b/package/network/utils/wireguard-tools/Makefile @@ -32,7 +32,7 @@ MAKE_VARS += PLATFORM=linux define Package/wireguard-tools $(call Package/wireguard/Default) TITLE:=WireGuard userspace control program (wg) - DEPENDS:=+ip + DEPENDS:=+@BUSYBOX_CONFIG_IP +@BUSYBOX_CONFIG_FEATURE_IP_LINK endef define Package/wireguard-tools/description |