summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-11-22 09:39:41 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-11-22 09:39:41 +0000
commitf0721fa502bcd44499ef7265a784a78e0e13fa0b (patch)
tree73cfdbf6419db6a05efecc92e4ee68daaeb13f18 /rules.mk
parent61ad6831d3de522e654420641203cbc82d25a025 (diff)
downloadmaster-31e0f0ae-f0721fa502bcd44499ef7265a784a78e0e13fa0b.tar.gz
master-31e0f0ae-f0721fa502bcd44499ef7265a784a78e0e13fa0b.tar.bz2
master-31e0f0ae-f0721fa502bcd44499ef7265a784a78e0e13fa0b.zip
allow configuration of the target directory for binaries
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38890
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 a3efb7db4f..80e07d11a2 100644
--- a/rules.mk
+++ b/rules.mk
@@ -73,7 +73,7 @@ ifdef CONFIG_MIPS64_ABI
endif
DL_DIR:=$(if $(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(TOPDIR)/dl)
-BIN_DIR:=$(TOPDIR)/bin/$(BOARD)
+BIN_DIR:=$(if $(call qstrip,$(CONFIG_BINARY_FOLDER)),$(call qstrip,$(CONFIG_BINARY_FOLDER)),$(TOPDIR)/bin/$(BOARD))
INCLUDE_DIR:=$(TOPDIR)/include
SCRIPT_DIR:=$(TOPDIR)/scripts
BUILD_DIR_BASE:=$(TOPDIR)/build_dir