From: Yann E. MORIN Date: Sun, 8 Jul 2018 09:45:28 +0000 (+0200) Subject: package/busybox: invert dependency with wget X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e3240ddcc6e884fcda952c9a1b1d2da961c163a;p=buildroot.git package/busybox: invert dependency with wget Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 47047d1a81..e5de1b7284 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \ # Packages that provide commands that may also be busybox applets: BUSYBOX_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_WGET),wget) \ $(if $(BR2_PACKAGE_WHOIS),whois) # Link against libtirpc if available so that we can leverage its RPC diff --git a/package/wget/wget.mk b/package/wget/wget.mk index 36afea761a..28bd0a264f 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -11,11 +11,6 @@ WGET_DEPENDENCIES = host-pkgconf WGET_LICENSE = GPL-3.0+ WGET_LICENSE_FILES = COPYING -# Prefer full-blown wget over busybox -ifeq ($(BR2_PACKAGE_BUSYBOX),y) -WGET_DEPENDENCIES += busybox -endif - ifeq ($(BR2_PACKAGE_GNUTLS),y) WGET_CONF_OPTS += --with-ssl=gnutls WGET_DEPENDENCIES += gnutls