From 2964bff64e99ff26554c41bc8600b687aff1f2f6 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 4 Aug 2008 19:08:41 +0000 Subject: i2c-tools: cleanup clean target --- package/i2c-tools/i2c-tools.mk | 5 +---- 1 file changed, 1 insertion(+), 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: -- cgit v1.2.3