mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
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:
@@ -134,7 +134,7 @@ TERM_RESET := $(shell tput rmso)
|
|||||||
|
|
||||||
# support make source-check/external-deps
|
# support make source-check/external-deps
|
||||||
ifneq ($(SPIDER),)
|
ifneq ($(SPIDER),)
|
||||||
DOWNLOAD:=$(WGET) -P $(DL_DIR) $(1)/$(2)
|
DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
|
||||||
else
|
else
|
||||||
define DOWNLOAD
|
define DOWNLOAD
|
||||||
$(Q)test -e $(DL_DIR)/$(2) || \
|
$(Q)test -e $(DL_DIR)/$(2) || \
|
||||||
|
|||||||
Reference in New Issue
Block a user