aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake
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
commit8bc6c30f425d8f2ade78e9012de37c0d6713bd88 (patch)
treeb019141e54241852c17ecb88976340f16a615ce0 /tools/cmake
parent9609f241ded15358c11082b9660bd5dc40d0464b (diff)
downloadupstream-8bc6c30f425d8f2ade78e9012de37c0d6713bd88.tar.gz
upstream-8bc6c30f425d8f2ade78e9012de37c0d6713bd88.tar.bz2
upstream-8bc6c30f425d8f2ade78e9012de37c0d6713bd88.zip
tools/cmake: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33441 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/cmake')
-rw-r--r--tools/cmake/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 54c63757c7..7ffcc1b1d2 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))