package/busybox: invert dependency with debianutils
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:46:07 +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/debianutils/debianutils.mk

index dbb4a9b93fb3a8ba6e4653de7e973a777971a331..20459f123a7d4c0b43a871532ceb9b7467308a27 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_DEBIANUTILS),debianutils) \
        $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \
        $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \
        $(if $(BR2_PACKAGE_E2FSPROGS),e2fsprogs) \
index 86f201da1cce09e56c8423eeada9e9630c04ee5b..189d9837321a6b41aacb7f4f73dc4cd73e1d7828 100644 (file)
@@ -8,8 +8,6 @@ DEBIANUTILS_VERSION = 4.8.1
 DEBIANUTILS_SOURCE = debianutils_$(DEBIANUTILS_VERSION).tar.xz
 DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20161118T033019Z/pool/main/d/debianutils
 DEBIANUTILS_CONF_OPTS = --exec-prefix=/
-# Make sure we override the busybox tools, such as which
-DEBIANUTILS_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 DEBIANUTILS_LICENSE = GPL-2.0+, SMAIL (savelog)
 DEBIANUTILS_LICENSE_FILES = debian/copyright