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

index 20459f123a7d4c0b43a871532ceb9b7467308a27..fe36cb3918145f80349b1540f76aa819db7f7b69 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_DCRON),dcron) \
        $(if $(BR2_PACKAGE_DEBIANUTILS),debianutils) \
        $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \
        $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \
index 7e81b63803e0657412bee811d915e1b9f581b1e2..2ee0709af590b2668a74df5a53bdc7e1d778981c 100644 (file)
@@ -9,11 +9,6 @@ DCRON_SITE = http://www.jimpryor.net/linux/releases
 # The source code does not specify the version of the GPL that is used.
 DCRON_LICENSE = GPL
 
-# Overwrite cron-related Busybox commands if available
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-DCRON_DEPENDENCIES = busybox
-endif
-
 define DCRON_BUILD_CMDS
        $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
 endef