diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2016-10-08 16:11:02 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-01 19:07:47 +0100 |
| commit | df324ebd497db3ab935a79ddc5a378b14a6ea91f (patch) | |
| tree | 75cef82f0005246558133fd8d776521290cb75cc /recipes-qt/qt5/qtbase_git.bb | |
| parent | 6255c3bc0ccf1b4329d9a460fa853be0d7827224 (diff) | |
| download | meta-qt5-df324ebd497db3ab935a79ddc5a378b14a6ea91f.tar.gz | |
qt5: Use existing variables for paths of host tools
Makes it possible to install qmake into ${bindir} without setting
QT_DIR_NAME = "".
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index eda57aca..223383dd 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
| @@ -156,7 +156,7 @@ EOF | |||
| 156 | QMAKE_MKSPEC_PATH = "${B}" | 156 | QMAKE_MKSPEC_PATH = "${B}" |
| 157 | 157 | ||
| 158 | # another exception is that we need to run bin/qmake, because EffectivePaths are relative to qmake location | 158 | # another exception is that we need to run bin/qmake, because EffectivePaths are relative to qmake location |
| 159 | OE_QMAKE_QMAKE_ORIG = "${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/qmake" | 159 | OE_QMAKE_QMAKE_ORIG := "${OE_QMAKE_QMAKE}" |
| 160 | OE_QMAKE_QMAKE = "bin/qmake" | 160 | OE_QMAKE_QMAKE = "bin/qmake" |
| 161 | 161 | ||
| 162 | # qtbase is exception, configure script is using our get(X)QEvalMakeConf and setBootstrapEvalVariable functions to read it from shell | 162 | # qtbase is exception, configure script is using our get(X)QEvalMakeConf and setBootstrapEvalVariable functions to read it from shell |
| @@ -211,7 +211,7 @@ do_install_append() { | |||
| 211 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 211 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
| 212 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri | 212 | touch ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri |
| 213 | 213 | ||
| 214 | install -m 0755 ${B}/bin/qmake-target ${D}/${bindir}${QT_DIR_NAME}/qmake | 214 | install -m 0755 ${B}/bin/qmake-target ${D}${OE_QMAKE_PATH_QT_BINS}/qmake |
| 215 | 215 | ||
| 216 | # Remove example.pro file as it is useless | 216 | # Remove example.pro file as it is useless |
| 217 | rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro | 217 | rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro |
