From: Felix Fietkau Date: Sat, 15 Sep 2012 14:18:10 +0000 (+0000) Subject: tools/cmake: enable parallel builds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2cf331ba6299ac2b3d057aba9c172f2df412652;p=openwrt%2Fstaging%2Fzorun.git tools/cmake: enable parallel builds SVN-Revision: 33441 --- 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))