aboutsummaryrefslogtreecommitdiff
path: root/package/wipe
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:05:58 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:05:58 +0000
commitb2cc2970b9d3de73a1c7515b59ec8fff7cdf4987 (patch)
tree24e499884d35fedce22c1af26ed474afe5a893aa /package/wipe
parentc4bd71605550d56a190c29dacdfbaf1293f60968 (diff)
downloadbuildroot-b2cc2970b9d3de73a1c7515b59ec8fff7cdf4987.tar.gz
buildroot-b2cc2970b9d3de73a1c7515b59ec8fff7cdf4987.tar.bz2
Avoid repeated rebuilds of 'wipe'
Diffstat (limited to 'package/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 f56c06d15d..4c836f54f6 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)