diff options
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r-- | package/pkg-download.mk | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 2641d4e8b7..84598d5257 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -23,13 +23,8 @@ LOCALFILES := $(call qstrip,$(BR2_LOCALFILES)) # external-deps target. DL_MODE=DOWNLOAD -# Override BR2_DL_DIR if shell variable defined -ifneq ($(BUILDROOT_DL_DIR),) -DL_DIR := $(BUILDROOT_DL_DIR) -else -DL_DIR := $(call qstrip,$(BR2_DL_DIR)) -endif - +# DL_DIR may have been set already from the environment +DL_DIR ?= $(call qstrip,$(BR2_DL_DIR)) ifeq ($(DL_DIR),) DL_DIR := $(TOPDIR)/dl endif |