package/busybox: invert dependency with mtd
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:45:50 +0000 (11:45 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 8 Jul 2018 11:08:04 +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/mtd/mtd.mk

index 451aae46a52ce8515292ad81b65556bd3cf01778..efb463554ce73d9437b4d299b86027ce11b4ec7a 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_MTD),mtd) \
        $(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \
        $(if $(BR2_PACKAGE_NETCAT),netcat) \
        $(if $(BR2_PACKAGE_NETCAT_OPENSBSD),netcat-openbsd) \
index 83bd6a6ae988019e5c87523b5507f7848217399f..13e501fc332e8092676cf97f51b4a19e8c53177e 100644 (file)
@@ -31,10 +31,6 @@ else
 MTD_CONF_OPTS += --disable-tests --disable-install-tests
 endif
 
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-MTD_DEPENDENCIES += busybox
-endif
-
 # If extended attributes are required, the acl package must
 # also be enabled which will also include the attr package.
 ifeq ($(BR2_PACKAGE_ACL),y)