package/busybox: invert dependency with gzip
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:46:00 +0000 (11:46 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 8 Jul 2018 11:08:05 +0000 (13:08 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/busybox/busybox.mk
package/gzip/gzip.mk

index 8e32a58c2de9151a6e3a572885848ce03ac3635d..b00341c576c90780cc28c83f86662262a6d0bbf7 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_GZIP),gzip) \
        $(if $(BR2_PACKAGE_I2C_TOOLS),i2c-tools) \
        $(if $(BR2_PACKAGE_IFENSLAVE),ifenslave) \
        $(if $(BR2_PACKAGE_IFPLUGD),ifplugd) \
index 26fc8ec347cfee98cc225041731f954c8d2c63a1..d69215a8506c714938dd55054a62b42edadcc0c4 100644 (file)
@@ -9,8 +9,6 @@ GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz
 GZIP_SITE = $(BR2_GNU_MIRROR)/gzip
 # Some other tools expect it to be in /bin
 GZIP_CONF_OPTS = --exec-prefix=/
-# Prefer full gzip over potentially lightweight/slower from busybox
-GZIP_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 GZIP_LICENSE = GPL-3.0+
 GZIP_LICENSE_FILES = COPYING
 GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes