mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
infra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.
To make the naming consistent (all user-visible options should be prefixed BR2_). An entry is added to Makefile.legacy to warn users who have set BUILDROOT_DL_DIR but not BR2_DL_DIR. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
674fd4f834
commit
6768021c93
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user