summaryrefslogtreecommitdiff
path: root/package/wipe/wipe.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:05:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:05:58 +0000
commitb2cc2970b9d3de73a1c7515b59ec8fff7cdf4987 (patch)
tree24e499884d35fedce22c1af26ed474afe5a893aa /package/wipe/wipe.mk
parentc4bd71605550d56a190c29dacdfbaf1293f60968 (diff)
Avoid repeated rebuilds of 'wipe'
Diffstat (limited to 'package/wipe/wipe.mk')
-rw-r--r--package/wipe/wipe.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
index f56c06d15..4c836f54f 100644
--- a/package/wipe/wipe.mk
+++ b/package/wipe/wipe.mk
@@ -29,9 +29,10 @@ $(WIPE_DIR)/.unpacked: $(DL_DIR)/$(WIPE_SOURCE) $(DL_DIR)/$(WIPE_PATCH)
touch $(WIPE_DIR)/.unpacked
$(WIPE_DIR)/.configured: $(WIPE_DIR)/.unpacked
- touch $(WIPE_DIR)/.configured
+ touch $@
$(WIPE_DIR)/$(WIPE_BINARY): $(WIPE_DIR)/.configured
+ rm -f $(WIPE_DIR)/$(WIPE_BINARY)
$(MAKE) CC=$(TARGET_CC) -C $(WIPE_DIR) generic
$(TARGET_DIR)/$(WIPE_TARGET_BINARY): $(WIPE_DIR)/$(WIPE_BINARY)