diff mbox

[1/2] i2c-tools: add busybox to dependencies

Message ID 1470133656-13954-1-git-send-email-bgolaszewski@baylibre.com
State Accepted
Commit 4ab7312e1f936bc93c75ebdfb9e62aef98bc7ed5
Headers show

Commit Message

Bartosz Golaszewski Aug. 2, 2016, 10:27 a.m. UTC
Before changing the install directory of i2c-tools to /usr/sbin/ make
sure busybox is built first (if selected) in order to ensure that the
symlinks to the busybox-provided versions are overwritten by the
i2c-tools' install commands.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 package/i2c-tools/i2c-tools.mk | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Aug. 2, 2016, 11:09 a.m. UTC | #1
>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

 > Before changing the install directory of i2c-tools to /usr/sbin/ make
 > sure busybox is built first (if selected) in order to ensure that the
 > symlinks to the busybox-provided versions are overwritten by the
 > i2c-tools' install commands.

 > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Committed, thanks.
diff mbox

Patch

diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
index 9625acf..38f84a3 100644
--- a/package/i2c-tools/i2c-tools.mk
+++ b/package/i2c-tools/i2c-tools.mk
@@ -17,6 +17,10 @@  ifeq ($(BR2_PACKAGE_PYTHON3),y)
 I2C_TOOLS_DEPENDENCIES += python3
 endif
 
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+I2C_TOOLS_DEPENDENCIES += busybox
+endif
+
 # Build/install steps mirror the distutil python package type in the python package
 # infrastructure
 ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)