diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-22 20:10:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-22 20:10:28 +0000 |
commit | 649c378bfa91309e164552e0ebff159b49b5ac3a (patch) | |
tree | 7c66547d8c27f7c71eea730364df9ca7e0b0dc88 /include | |
parent | 0c12b233e76ee5f726375a9b7193679aa6949759 (diff) | |
download | upstream-649c378bfa91309e164552e0ebff159b49b5ac3a.tar.gz upstream-649c378bfa91309e164552e0ebff159b49b5ac3a.tar.bz2 upstream-649c378bfa91309e164552e0ebff159b49b5ac3a.zip |
host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33509 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/host-build.mk | 6 |
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 |