summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-04-03 15:19:01 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-04-03 18:12:28 (GMT)
commita219ed3f7b81b93b4ed394451e7dbf862f678ec1 (patch)
tree980b57b0269c97dc10d04788166c8b554a56bb03
parent9fd85d8168ccc210a03682dff844cca5fbb35349 (diff)
downloadbuildroot-a219ed3f7b81b93b4ed394451e7dbf862f678ec1.tar.gz
buildroot-a219ed3f7b81b93b4ed394451e7dbf862f678ec1.tar.bz2
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/qt/qt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 32dc574..8d7238e 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) \