X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a5d58567566ccbd2b3161e25f1066e60a452b6c2..6d6cdb60aad3fb96c00d961e1047ac9e842a2d18:/rules.mk diff --git a/rules.mk b/rules.mk index 514aa6b9d..950efebc8 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