WIPE_PATCH isnt defined so dont generate a garbage rule
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:38:06 +0000 (00:38 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:38:06 +0000 (00:38 -0000)
package/wipe/wipe.mk

index 19fc1f33a6df3888dfd5f024c118147ed698be6b..28178bc514b1583a9e571fbc6ade7549e7f2e956 100644 (file)
@@ -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)