Skip to contentSkip to conversation

qtbase-native: speed up configure task

PATCH New Julien Brianceau (jbriance) 1 participant 1 message May 5, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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.

---
 recipes-qt/qt5/qtbase-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase-native.inc +1 -1
index 7b44fb7..b6c868d 100644
@@ -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}"
 }
 
Signature · 1 line
1.9.5