aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-10-14 02:15:37 +0000
committerJohn Crispin <blogic@openwrt.org>2007-10-14 02:15:37 +0000
commit9622d803448fcb9c1726aebf8e6b68d65f8b290e (patch)
treed1982e066f01589d8db50780ea77e6fbfab5bc5c /rules.mk
parent5042f33084bc6f96fcf60ae228886534f0b4a34f (diff)
downloadupstream-9622d803448fcb9c1726aebf8e6b68d65f8b290e.tar.gz
upstream-9622d803448fcb9c1726aebf8e6b68d65f8b290e.tar.bz2
upstream-9622d803448fcb9c1726aebf8e6b68d65f8b290e.zip
add possibility to set default .config values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 514aa6b9d2..950efebc8b 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