package/busybox: invert dependency with i2c-tools
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 8 Jul 2018 09:45:59 +0000 (11:45 +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/i2c-tools/i2c-tools.mk

index 2d61927c212bde810ed31baaa3a7646a093d102f..8e32a58c2de9151a6e3a572885848ce03ac3635d 100644 (file)
@@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
 
 # Packages that provide commands that may also be busybox applets:
 BUSYBOX_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_I2C_TOOLS),i2c-tools) \
        $(if $(BR2_PACKAGE_IFENSLAVE),ifenslave) \
        $(if $(BR2_PACKAGE_IFPLUGD),ifplugd) \
        $(if $(BR2_PACKAGE_IFUPDOWN),ifupdown) \
index 9ddaa7278673afe3e87acf84eedf3ac62f55b817..db26647eb55b63427d81f18a0608ad4db7aeae5d 100644 (file)
@@ -19,10 +19,6 @@ ifeq ($(BR2_PACKAGE_PYTHON3),y)
 I2C_TOOLS_DEPENDENCIES += python3
 endif
 
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-I2C_TOOLS_DEPENDENCIES += busybox
-endif
-
 ifeq ($(BR2_STATIC_LIBS),y)
 I2C_TOOLS_MAKE_OPTS += BUILD_DYNAMIC_LIB=0 USE_STATIC_LIB=1
 endif