summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUlf Samuelsson2007-08-20 01:32:33 +0200
committerUlf Samuelsson2007-08-20 01:32:33 +0200
commit3c567e64660209d140869fa0a448e11ed5031cd6 (patch)
tree3a84113de089ad5887fa004a7cccf365aee8e1b3 /Makefile
parentUpdate configs for distcc, diffutils and freetype (diff)
downloadbuildroot-3c567e64660209d140869fa0a448e11ed5031cd6.tar.gz
buildroot-3c567e64660209d140869fa0a448e11ed5031cd6.tar.xz
buildroot-3c567e64660209d140869fa0a448e11ed5031cd6.zip
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 b9e4cd264..c1df6a303 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