summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-10-14 02:15:37 +0000
committerJohn Crispin <john@openwrt.org>2007-10-14 02:15:37 +0000
commit1a3c4d109008e36e8d158670cf461f131d13f75e (patch)
tree5ee2d061ce0c569c159d99300db5d821b264b0bc /rules.mk
parent3568f0c247fda145643fd6395fab6d440ab1e83c (diff)
downloadmtk-20170518-1a3c4d109008e36e8d158670cf461f131d13f75e.zip
mtk-20170518-1a3c4d109008e36e8d158670cf461f131d13f75e.tar.gz
mtk-20170518-1a3c4d109008e36e8d158670cf461f131d13f75e.tar.bz2
add possibility to set default .config values
SVN-Revision: 9300
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 514aa6b..950efeb 100644
--- a/rules.mk
+++ b/rules.mk
@@ -32,7 +32,7 @@ SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
OPTIMIZE_FOR_CPU:=$(ARCH)
-DL_DIR:=$(TOPDIR)/dl
+DL_DIR:=$(call qstrip,$(if $(CONFIG_DOWNLOAD_FOLDER), $(CONFIG_DOWNLOAD_FOLDER),$(TOPDIR)/dl))
BIN_DIR:=$(TOPDIR)/bin
INCLUDE_DIR:=$(TOPDIR)/include
SCRIPT_DIR:=$(TOPDIR)/scripts