[openwrt/openwrt] wireguard-tools: drop the dependency on ip-{tiny, full}

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 14 11:47:01 EST 2020


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c63908afd282ccbe3cbcafae170e32f8f021bdb9

commit c63908afd282ccbe3cbcafae170e32f8f021bdb9
Author: Rui Salvaterra <rsalvaterra at gmail.com>
AuthorDate: Thu Nov 5 11:37:16 2020 +0000

    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 at gmail.com>
---
 package/network/utils/wireguard-tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:=+ at BUSYBOX_CONFIG_IP + at BUSYBOX_CONFIG_FEATURE_IP_LINK
 endef
 
 define Package/wireguard-tools/description



More information about the lede-commits mailing list