summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:18:10 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-15 14:18:10 +0000
commitb83769d256e57c7aa3b38ae637f0f2421864b1cd (patch)
treeb019141e54241852c17ecb88976340f16a615ce0
parent5315b2a6de7427ea36774ac71b8d4d1fef3271f5 (diff)
tools/cmake: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33441 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/cmake/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 54c63757c..7ffcc1b1d 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))