All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5][PATCH v2] qtbase-native: create empty oe-device-extra.pri
@ 2017-03-30 15:09 Gordan Markuš
  0 siblings, 0 replies; only message in thread
From: Gordan Markuš @ 2017-03-30 15:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Gordan Markuš

Suppress multiple occurrences of the same warning while configuring
and compiling qtbase-native and nativesdk-qtbase.

WARNING: Unable to find file git/mkspecs/linux-oe-g++/../oe-device-extra.pri
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
---
 recipes-qt/qt5/qtbase-native_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index c013029..da69812 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -83,6 +83,9 @@ PACKAGECONFIG_CONFARGS = " \
 export OE_QMAKE_QTCONF_PATH = "foodummy"
 
 do_configure_prepend() {
+    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
+    touch ${S}/mkspecs/oe-device-extra.pri
+
     MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}"
 }
 
-- 
2.9.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-30 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-30 15:09 [meta-qt5][PATCH v2] qtbase-native: create empty oe-device-extra.pri Gordan Markuš

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.