summaryrefslogtreecommitdiff
path: root/tools/cmake/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-15 14:18:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-15 14:18:10 +0000
commita2cf331ba6299ac2b3d057aba9c172f2df412652 (patch)
treeef1173a57ab73d72387857284c96cf1e5c24d0e2 /tools/cmake/Makefile
parent54bd532d15ce5996b29cf616bb89f70663a31637 (diff)
downloadmtk-20170518-a2cf331ba6299ac2b3d057aba9c172f2df412652.zip
mtk-20170518-a2cf331ba6299ac2b3d057aba9c172f2df412652.tar.gz
mtk-20170518-a2cf331ba6299ac2b3d057aba9c172f2df412652.tar.bz2
tools/cmake: enable parallel builds
SVN-Revision: 33441
Diffstat (limited to 'tools/cmake/Makefile')
-rw-r--r--tools/cmake/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 54c6375..7ffcc1b 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -13,6 +13,11 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6
+HOST_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/host-build.mk
+HOST_CONFIGURE_ARGS += \
+ $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
+
$(eval $(call HostBuild))