DOWNLOAD: don't use := assignment for function implementation

:= causes the function parameters to get evaluated at definition time
instead of implementation time, which is kind of silly for a function.

Fixes make source-check / external-deps
This commit is contained in:
Peter Korsgaard 2009-01-16 12:30:07 +00:00
parent 3ff43a6838
commit 3e06e4cec6

View File

@ -134,7 +134,7 @@ TERM_RESET := $(shell tput rmso)
# support make source-check/external-deps
ifneq ($(SPIDER),)
DOWNLOAD:=$(WGET) -P $(DL_DIR) $(1)/$(2)
DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
else
define DOWNLOAD
$(Q)test -e $(DL_DIR)/$(2) || \