qtbase-native: speed up configure task

* Use parallel make to speed up build of qmake during configure task
* Take the opportunity to use clean configure parameters to use
  opensource license instead of "(echo o; echo yes) |" trick.

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Julien Brianceau \(jbriance\)
2015-05-05 14:20:56 +00:00
committed by Martin Jansa
parent 80de39d556
commit bb20ed60fc

View File

@@ -83,7 +83,7 @@ export OE_QMAKE_AR
export OE_QMAKE_STRIP
do_configure_prepend() {
(echo o; echo yes) | ${S}/configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource -confirm-license ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
bin/qmake ${OE_QMAKE_DEBUG_OUTPUT} ${S} -o Makefile || die "Configuring qt with qmake failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}