summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-09-02 08:08:31 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-09-02 08:08:31 (GMT)
commit4d0ed75a9d92b705a2bbe347c0aec39b9523fd5b (patch)
tree5b7f25eddd3cad10e7b9b806904b0facfb7e593b
parent4a57d5193fb776a4411f979d1f2eaf1eb93e9f68 (diff)
downloadmxe-4d0ed75a9d92b705a2bbe347c0aec39b9523fd5b.zip
mxe-4d0ed75a9d92b705a2bbe347c0aec39b9523fd5b.tar.gz
mxe-4d0ed75a9d92b705a2bbe347c0aec39b9523fd5b.tar.bz2
bugfix and simplification of "make download"
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dcb8279..542931f 100644
--- a/Makefile
+++ b/Makefile
@@ -104,10 +104,7 @@ download: $(addprefix download-,$(PKGS))
define PKG_RULE
.PHONY: download-$(1)
-download-$(1): $(addprefix download-only-,$($(1)_DEPS)) download-only-$(1)
-
-.PHONY: download-only-$(1)
-download-only-$(1): $(TOP_DIR)/src/$(1).mk
+download-$(1): $(addprefix download-,$($(1)_DEPS))
[ -d '$(PKG_DIR)' ] || mkdir -p '$(PKG_DIR)'
if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
$(call DOWNLOAD_PKG_ARCHIVE,$(1)); \