summaryrefslogtreecommitdiff
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
parentc4bd71605550d56a190c29dacdfbaf1293f60968 (diff)
Avoid repeated rebuilds of 'wipe'
-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)