summaryrefslogtreecommitdiffstats
path: root/package/i2c-tools
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2016-08-02 12:27:35 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-08-02 13:08:33 +0200
commit4ab7312e1f936bc93c75ebdfb9e62aef98bc7ed5 (patch)
treed972a65c18a6bdda68cc12d52df785538b7b859c /package/i2c-tools
parentae0411654e05f87939e20dbb2ffbe83ae03b4fee (diff)
downloadbuildroot-4ab7312e1f936bc93c75ebdfb9e62aef98bc7ed5.tar.gz
buildroot-4ab7312e1f936bc93c75ebdfb9e62aef98bc7ed5.zip
i2c-tools: add busybox to dependencies if enabled
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> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/i2c-tools')
-rw-r--r--package/i2c-tools/i2c-tools.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
index 9625acf8f0..38f84a3391 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)
OpenPOWER on IntegriCloud