From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] qt: speed up qmake build
Date: Sat, 02 Apr 2011 22:55:17 +0200 [thread overview]
Message-ID: <87r59kz83u.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <66242e9ff64f81f9c0c3b11fc7c1fc7933eb4efc.1301763163.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Sat, 2 Apr 2011 18:52:52 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> qmake is built during the execution of Qt ./configure script, so it is
Thomas> built just with a normal make, not taking advantage of parallel
Thomas> compilation. Passing MAKEFLAGS=-j$(BR2_JLEVEL) allows to speed up the
Thomas> qmake compilation process quite a bit.
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> package/qt/qt.mk | 2 +-
Thomas> 1 files changed, 1 insertions(+), 1 deletions(-)
Thomas> diff --git a/package/qt/qt.mk b/package/qt/qt.mk
Thomas> index 62ba869..c1f11ed 100644
Thomas> --- a/package/qt/qt.mk
Thomas> +++ b/package/qt/qt.mk
Thomas> @@ -468,7 +468,7 @@ define QT_CONFIGURE_CMDS
Thomas> PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
Thomas> PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
Thomas> PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
Thomas> - ./configure \
Thomas> + MAKEFLAGS=-j$(BR2_JLEVEL) ./configure \
Maybe we should do MAKEFLAGS='$(MAKEFLAGS) -j$(BR2_LEVEL)' so other make
settings like -s are forwarded as well?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-04-02 20:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 16:52 [Buildroot] [pull request] Pull request for branch for-2011.05/more-qt-fixes Thomas Petazzoni
2011-04-02 16:52 ` [Buildroot] [PATCH 1/2] qt: fix plugin installation and change plugin path Thomas Petazzoni
2011-04-02 20:48 ` Peter Korsgaard
2011-04-03 15:20 ` Thomas Petazzoni
2011-04-02 16:52 ` [Buildroot] [PATCH 2/2] qt: speed up qmake build Thomas Petazzoni
2011-04-02 20:55 ` Peter Korsgaard [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-03 15:18 [Buildroot] [pull request] Pull request for branch for-2011.05/more-qt-fixes Thomas Petazzoni
2011-04-03 15:19 ` [Buildroot] [PATCH 2/2] qt: speed up qmake build Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r59kz83u.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox