diff options
author | Jonathan Liu <net147@gmail.com> | 2016-09-09 16:13:44 +1000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-15 10:09:06 +0200 |
commit | 1ec776771f5f09c97917d3839d8140f9a7668c4a (patch) | |
tree | f091439ea7f239f420260399406df420f495c4be | |
parent | 1d7a6b267452d86995ca4019b495abea3049b63d (diff) |
qtbase: avoid qmake errors due to missing oe-device-extra.pri
An empty oe-extra-extra.pri file is created if it does not exist to
suppress qmake errors.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 81e808a2..e532cdd9 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -203,6 +203,9 @@ do_configure() { } do_install_append() { + # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" + touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri + install -m 0755 ${B}/bin/qmake-target ${D}/${bindir}${QT_DIR_NAME}/qmake ### Fix up the binaries to the right location |