diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 14:18:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-15 14:18:10 +0000 |
commit | 8bc6c30f425d8f2ade78e9012de37c0d6713bd88 (patch) | |
tree | b019141e54241852c17ecb88976340f16a615ce0 /tools | |
parent | 9609f241ded15358c11082b9660bd5dc40d0464b (diff) | |
download | upstream-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')
-rw-r--r-- | tools/cmake/Makefile | 5 |
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)) |