diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-19 10:09:00 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-19 10:11:19 +0300 |
commit | 07d9188de3ce7ce834a7e03034cf8e0c64bb9d80 (patch) | |
tree | 0fe2339c0b98b8c56c968b1d87dd652a4faa43d7 | |
parent | db175fc660e65ef9ded6d999087a9b9aa307b4e5 (diff) | |
parent | 3720291ed255ef061aa231414b57848294e1e4f9 (diff) | |
download | meta-boot2qt-07d9188de3ce7ce834a7e03034cf8e0c64bb9d80.tar.gz |
Merge remote-tracking branch 'origin/morty' into pyro
* origin/morty:
qtivi: export envs for ivigenerator
meta-qt5: update meta layer
Change-Id: I2b5704706351e2ecd10ca0ea8bfc8f975adfffc1
-rw-r--r-- | recipes-qt/automotive/qtivi_git.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-qt/automotive/qtivi_git.bb b/recipes-qt/automotive/qtivi_git.bb index 6b364d3..0f49d5d 100644 --- a/recipes-qt/automotive/qtivi_git.bb +++ b/recipes-qt/automotive/qtivi_git.bb | |||
@@ -68,7 +68,7 @@ PACKAGECONFIG_class-nativesdk ??= "${PACKAGECONFIG_class-native}" | |||
68 | 68 | ||
69 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}" | 69 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}" |
70 | 70 | ||
71 | do_compile_prepend() { | 71 | set_python_paths() { |
72 | # Otherwise pip might cache or reuse something from our home folder | 72 | # Otherwise pip might cache or reuse something from our home folder |
73 | export HOME="${STAGING_DATADIR_NATIVE}" | 73 | export HOME="${STAGING_DATADIR_NATIVE}" |
74 | # This is needed as otherwise the virtualenv tries to use the libs from the host | 74 | # This is needed as otherwise the virtualenv tries to use the libs from the host |
@@ -76,6 +76,13 @@ do_compile_prepend() { | |||
76 | # Let qtivi use the python3-native binaries | 76 | # Let qtivi use the python3-native binaries |
77 | export PYTHON3_PATH="${STAGING_BINDIR_NATIVE}/python3-native" | 77 | export PYTHON3_PATH="${STAGING_BINDIR_NATIVE}/python3-native" |
78 | } | 78 | } |
79 | do_compile_prepend() { | ||
80 | set_python_paths | ||
81 | } | ||
82 | do_install_prepend() { | ||
83 | set_python_paths | ||
84 | } | ||
85 | |||
79 | 86 | ||
80 | BBCLASSEXTEND += "native nativesdk" | 87 | BBCLASSEXTEND += "native nativesdk" |
81 | 88 | ||