summaryrefslogtreecommitdiff
path: root/package/i2c-tools
diff options
context:
space:
mode:
Diffstat (limited to 'package/i2c-tools')
-rw-r--r--package/i2c-tools/i2c-tools.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
index 76c2d7a50..caa1d4c4e 100644
--- a/package/i2c-tools/i2c-tools.mk
+++ b/package/i2c-tools/i2c-tools.mk
@@ -34,10 +34,7 @@ i2c-tools: uclibc $(TARGET_DIR)/$(I2C_TOOLS_TARGET_BINARY)
i2c-tools-source: $(DL_DIR)/$(I2C_TOOLS_SOURCE)
i2c-tools-clean:
- for i in i2cdump i2cget i2cset i2cdetect; \
- do \
- rm -f $(TARGET_DIR)/usr/bin/$$i; \
- done
+ rm -f $(addprefix $(TARGET_DIR)/usr/bin/,i2cdump i2cget i2cset i2cdetect)
-$(MAKE) -C $(I2C_TOOLS_DIR) clean
i2c-tools-dirclean: