summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/wipe/wipe.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
index 19fc1f33a..28178bc51 100644
--- a/package/wipe/wipe.mk
+++ b/package/wipe/wipe.mk
@@ -15,8 +15,10 @@ WIPE_TARGET_BINARY:=bin/wipe
$(DL_DIR)/$(WIPE_SOURCE):
$(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_SOURCE)
+ifneq ($(WIPE_PATCH),)
$(DL_DIR)/$(WIPE_PATCH):
$(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_PATCH)
+endif
wipe-source: $(DL_DIR)/$(WIPE_SOURCE) $(DL_DIR)/$(WIPE_PATCH)