diff options
author | Jonathan Liu <net147@gmail.com> | 2016-09-09 16:11:19 +1000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-11 09:05:29 +0200 |
commit | 9aa870eecf6dc7a87678393bd55b97e21033ab48 (patch) | |
tree | 2b052892131cd9d7ee0b974c714b7aa3ec6087bf | |
parent | 4656ab3636c099906989e0d923e1ac7a8ffe7b31 (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 ee41db54..eda57aca 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -208,6 +208,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 # Remove example.pro file as it is useless |