summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-03-24 11:55:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-03-24 11:55:24 +0100
commit004831235fb6dc6547c12d61cd9a906e944c84b9 (patch)
tree236f892c710370646565a237fe00e81cf14687c0
parent51fa7e25e9f662fa9949adbd1e72dbf581958e74 (diff)
downloadptxdist-004831235fb6dc6547c12d61cd9a906e944c84b9.tar.gz
ptxdist-004831235fb6dc6547c12d61cd9a906e944c84b9.tar.xz
host-cmake: cleanup building
Don't build the tests and compile the bootstrap cmake in parallel. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-cmake.make13
1 files changed, 11 insertions, 2 deletions
diff --git a/rules/host-cmake.make b/rules/host-cmake.make
index e065dfe5c..50d873a23 100644
--- a/rules/host-cmake.make
+++ b/rules/host-cmake.make
@@ -36,8 +36,17 @@ HOST_CMAKE_LICENSE_FILES := \
# Prepare
# ----------------------------------------------------------------------------
-HOST_CMAKE_BUILD_OOT := YES
-HOST_CMAKE_CONF_TOOL := autoconf
+HOST_CMAKE_CONF_ENV := \
+ $(HOST_ENV) \
+ MAKEFLAGS="$(PARALLELMFLAGS)"
+
+HOST_CMAKE_BUILD_OOT := YES
+HOST_CMAKE_CONF_TOOL := autoconf
+HOST_CMAKE_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ -- \
+ -DBUILD_TESTING=NO
+
$(STATEDIR)/host-cmake.install.post: \
$(PTXDIST_CMAKE_TOOLCHAIN_TARGET) \