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

index fe36cb3918145f80349b1540f76aa819db7f7b69..635186933000933282a451e0a1d4e9cc2a49d14a 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_CPIO),cpio) \
        $(if $(BR2_PACKAGE_DCRON),dcron) \
        $(if $(BR2_PACKAGE_DEBIANUTILS),debianutils) \
        $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \
index 7e8549dbd8e719b6f9a56aff8130247443bd1d43..9a092795720d1a06c4042d23f6a276442684d428 100644 (file)
@@ -7,7 +7,6 @@
 CPIO_VERSION = 2.12
 CPIO_SITE = $(BR2_GNU_MIRROR)/cpio
 CPIO_CONF_OPTS = --bindir=/bin
-CPIO_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 CPIO_LICENSE = GPL-3.0+
 CPIO_LICENSE_FILES = COPYING