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:
parent
3ff43a6838
commit
3e06e4cec6
@ -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) || \
|
||||
|
Loading…
Reference in New Issue
Block a user