summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 23:32:33 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 23:32:33 +0000
commit3c567e64660209d140869fa0a448e11ed5031cd6 (patch)
tree3a84113de089ad5887fa004a7cccf365aee8e1b3 /Makefile
parented96d7f92cd5ef65eb56dc95ed0df44b086e93ee (diff)
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