From 4d7db460edabbcf82cb5a6d2c5183e0cd0664e9f Mon Sep 17 00:00:00 2001 From: dir Date: Wed, 3 Jan 2018 15:11:19 +0100 Subject: cmake build speedup @upstream --- package/cmake/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/cmake') diff --git a/package/cmake/Makefile b/package/cmake/Makefile index fc9e919f0..431d0850b 100644 --- a/package/cmake/Makefile +++ b/package/cmake/Makefile @@ -25,14 +25,14 @@ $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE})) HOST_STYLE:= manual host-configure: - (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr --system-curl) + (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr --system-curl --parallel=${ADK_MAKE_JOBS} ) host-build: - (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ + (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \ ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE) cmake-hostinstall: - cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ + cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \ ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE) include ${ADK_TOPDIR}/mk/host-bottom.mk -- cgit v1.2.3