]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/pkg-generic.mk
core/pkg-infra: don't display "foo Downloading" when there's no source
[coffee/buildroot.git] / package / pkg-generic.mk
index a303dc2e0735a61e2e995323f8c789678a406186..8a3b5f90a9a2b90c83ca5275f72712814716e609 100644 (file)
@@ -488,7 +488,7 @@ BR_NO_CHECK_HASH_FOR += $$($(2)_SOURCE)
 endif
 
 $(2)_ALL_DOWNLOADS = \
-       $$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$($(2)_SOURCE) \
+       $$(if $$($(2)_SOURCE),$$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$($(2)_SOURCE)) \
        $$(foreach p,$$($(2)_PATCH) $$($(2)_EXTRA_DOWNLOADS),\
                $$(if $$(findstring ://,$$(p)),$$(p),\
                        $$($(2)_SITE)/$$(p)))