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

index e50ca1447ddbe7471c541ed70a01fc9f1d420175..dbb4a9b93fb3a8ba6e4653de7e973a777971a331 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \
        $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \
        $(if $(BR2_PACKAGE_E2FSPROGS),e2fsprogs) \
        $(if $(BR2_PACKAGE_FBSET),fbset) \
index 79785d6f014249d16d443b067deb8764c34abe38..9a41c985df70762a8b0a8fe08c82fedc43afb303 100644 (file)
@@ -17,8 +17,4 @@ ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
 DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes
 endif
 
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-DIFFUTILS_DEPENDENCIES += busybox
-endif
-
 $(eval $(autotools-package))