aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:28 +0000
commit1c108d33184939d39f367ed7e8cfd6cf3995a353 (patch)
tree5a372c02b2f708d2c7b055c8db82747235e0f2e9 /include
parent28665d55cd0febcd7b8e626244818390ac1efe7a (diff)
downloadupstream-1c108d33184939d39f367ed7e8cfd6cf3995a353.tar.gz
upstream-1c108d33184939d39f367ed7e8cfd6cf3995a353.tar.bz2
upstream-1c108d33184939d39f367ed7e8cfd6cf3995a353.zip
host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
SVN-Revision: 33509
Diffstat (limited to 'include')
-rw-r--r--include/host-build.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index e011c15480..66795c8e10 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -69,6 +69,8 @@ HOST_CONFIGURE_ARGS = \
--localstatedir=$(STAGING_DIR_HOST)/var \
--sbindir=$(STAGING_DIR_HOST)/bin
+HOST_MAKE_FLAGS =
+
HOST_CONFIGURE_CMD = ./configure
ifneq ($(HOST_OS),Darwin)
@@ -95,7 +97,9 @@ define Host/Configure
endef
define Host/Compile/Default
- $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) $(1)
+ $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \
+ $(HOST_MAKE_FLAGS) \
+ $(1)
endef
define Host/Compile