aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 23:32:33 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 23:32:33 +0000
commit3c567e64660209d140869fa0a448e11ed5031cd6 (patch)
tree3a84113de089ad5887fa004a7cccf365aee8e1b3 /Makefile
parented96d7f92cd5ef65eb56dc95ed0df44b086e93ee (diff)
downloadbuildroot-3c567e64660209d140869fa0a448e11ed5031cd6.tar.gz
buildroot-3c567e64660209d140869fa0a448e11ed5031cd6.tar.bz2
Add support for BUILDROOT_DL_DIR environment variable, overriding DL_DIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b9e4cd2642..c1df6a3039 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,9 @@ noconfig_targets := menuconfig config oldconfig randconfig \
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
-include $(TOPDIR).config
endif
+ifneq ($(BUILDROOT_DL_DIR),)
+BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
+endif
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands