summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-08-18 13:57:58 +0000
committerMichael Büsch <mb@bu3sch.de>2010-08-18 13:57:58 +0000
commit7ed7784f5917b397bb9f180e461363353c2fd87f (patch)
treec9554b3e2f4fbb4e9598e9d78d20ec4fa8da091b /include/package.mk
parent4bd5e0e62e1b930c54093d606cd51234f93cd99d (diff)
downloadmtk-20170518-7ed7784f5917b397bb9f180e461363353c2fd87f.zip
mtk-20170518-7ed7784f5917b397bb9f180e461363353c2fd87f.tar.gz
mtk-20170518-7ed7784f5917b397bb9f180e461363353c2fd87f.tar.bz2
Support parallel build of certain packages
SVN-Revision: 22696
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index cde5614..fd53123 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -10,6 +10,8 @@ all: $(if $(DUMP),dumpinfo,compile)
PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install
PKG_MD5SUM ?= unknown
+PKG_BUILD_PARALLEL ?=
+PKG_JOBS ?= $(if $(PKG_BUILD_PARALLEL),$(if $(CONFIG_PKG_BUILD_PARALLEL),-j$(CONFIG_PKG_BUILD_JOBS)))
include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk