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

index 166d18708117ed6efdd64a87739a3c430455f123..e50ca1447ddbe7471c541ed70a01fc9f1d420175 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \
        $(if $(BR2_PACKAGE_E2FSPROGS),e2fsprogs) \
        $(if $(BR2_PACKAGE_FBSET),fbset) \
        $(if $(BR2_PACKAGE_GAWK),gawk) \
index 5001397f05715f08d06071ac0ffff2ab344f930e..0522ad1671f81bd4496b08f08b824fc2a58dd98e 100644 (file)
@@ -8,9 +8,7 @@ DOS2UNIX_VERSION = 7.4.0
 DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
 DOS2UNIX_LICENSE = BSD-2-Clause
 DOS2UNIX_LICENSE_FILES = COPYING.txt
-DOS2UNIX_DEPENDENCIES = \
-       $(if $(BR2_PACKAGE_BUSYBOX),busybox) \
-       $(TARGET_NLS_DEPENDENCIES)
+DOS2UNIX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
 
 ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
 DOS2UNIX_MAKE_OPTS += ENABLE_NLS=1