From a219ed3f7b81b93b4ed394451e7dbf862f678ec1 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 3 Apr 2011 17:19:01 +0200 Subject: qt: speed up qmake build qmake is built during the execution of Qt ./configure script, so it is built just with a normal make, not taking advantage of parallel compilation. Passing MAKEFLAGS=-j$(BR2_JLEVEL) allows to speed up the qmake compilation process quite a bit. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/qt/qt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/qt') diff --git a/package/qt/qt.mk b/package/qt/qt.mk index 32dc574d5..8d7238eab 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -468,7 +468,7 @@ define QT_CONFIGURE_CMDS PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \ - ./configure \ + MAKEFLAGS="$(MAKEFLAGS) -j$(BR2_JLEVEL)" ./configure \ $(if $(VERBOSE),-verbose,-silent) \ -force-pkg-config \ $(QT_CONFIGURE_OPTS) \ -- cgit v1.2.3