From: Thomas Petazzoni Date: Sun, 29 Mar 2015 17:33:17 +0000 (+0200) Subject: pkg-generic: take into account _EXTRA_DOWNLOADS to display "Downloading" message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48296c5afd24cb7f81693fef70881b9737b55062;p=buildroot.git pkg-generic: take into account _EXTRA_DOWNLOADS to display "Downloading" message The .stamp_downloaded target displays the "Downloading" message even if there is really something to download. However, this logic only checks for _SOURCE and _PATCH: it does not check if something needs to be downloaded in _EXTRA_DOWNLOADS. This commit fixes that, which makes sure that the "Downloading" message is displayed if one of the items in _EXTRA_DOWNLOADS has not yet been downloaded. Signed-off-by: Thomas Petazzoni Reviewed-by: Romain Naour Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" --- diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index b44d476379..003fd693d6 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -76,7 +76,7 @@ ifeq ($(DL_MODE),DOWNLOAD) $(Q)if test ! -e $(DL_DIR)/$($(PKG)_SOURCE); then \ $(call MESSAGE,"Downloading") ; \ else \ - for p in $($(PKG)_PATCH) ; do \ + for p in $($(PKG)_PATCH) $($(PKG)_EXTRA_DOWNLOADS) ; do \ if test ! -e $(DL_DIR)/`basename $$p` ; then \ $(call MESSAGE,"Downloading") ; \ break ; \