Skip to content

Commit

Permalink
allow configuration of the target directory for binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38890
  • Loading branch information
kaloz committed Nov 22, 2013
1 parent 61ad683 commit f0721fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ menuconfig DEVEL
bool "Show broken platforms / packages" if DEVEL
default n

config BINARY_FOLDER
string "Binary folder" if DEVEL
default ""

config DOWNLOAD_FOLDER
string "Download folder" if DEVEL
default ""
Expand Down
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0721fa

Please sign in to comment.