summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:41 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:41 +0000
commit2964bff64e99ff26554c41bc8600b687aff1f2f6 (patch)
tree148a8fd8e4a54fc46157c18a4760aa4135ed1f95
parentbea4968d34c069ab2719263286cef9f08624aa45 (diff)
i2c-tools: cleanup clean target
-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: