aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
parent54bd532d15ce5996b29cf616bb89f70663a31637 (diff)
downloadupstream-a2cf331ba6299ac2b3d057aba9c172f2df412652.tar.gz
upstream-a2cf331ba6299ac2b3d057aba9c172f2df412652.tar.bz2
upstream-a2cf331ba6299ac2b3d057aba9c172f2df412652.zip
tools/cmake: enable parallel builds
SVN-Revision: 33441
Diffstat (limited to 'tools')
-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))