summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)