enable download target only if PKG_SOURCE_URL is set
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Oct 2006 17:32:49 +0000 (17:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 Oct 2006 17:32:49 +0000 (17:32 +0000)
SVN-Revision: 5237

include/package.mk

index 2d4e703f3b6a9e25dcb1669496790564c66e57e5..01781c71c7dd79f301c34bf99f78b44ad3d5ee80 100644 (file)
@@ -346,7 +346,7 @@ else
   $(PACKAGE_DIR):
        mkdir -p $@
                
-  ifneq ($(strip $(PKG_SOURCE)),)
+  ifneq ($(strip $(PKG_SOURCE_URL)),)
     download: $(DL_DIR)/$(PKG_SOURCE)
 
     $(DL_DIR)/$(PKG_SOURCE):