From ae49cbbec3473ff2e6d91e8c4cba92581227cef1 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Wed, 17 Jun 2009 16:40:42 +0200 Subject: [PATCH] improved implementation of the download-* commands --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e6ef1239..75099d74 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,10 @@ download: $(addprefix download-,$(PKG_RULES)) define PKG_RULE .PHONY: download-$(1) -download-$(1): $(TOP_DIR)/src/$(1).mk $(addprefix download-,$($(1)_DEPS)) +download-$(1): $(addprefix download-only-,$($(1)_DEPS)) download-only-$(1) + +.PHONY: download-only-$(1) +download-only-$(1): $(TOP_DIR)/src/$(1).mk [ -d '$(PKG_DIR)' ] || mkdir -p '$(PKG_DIR)' if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \ $(call DOWNLOAD_PKG_ARCHIVE,$(1)); \