summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2017-08-19 10:09:00 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2017-08-19 10:11:19 +0300
commit07d9188de3ce7ce834a7e03034cf8e0c64bb9d80 (patch)
tree0fe2339c0b98b8c56c968b1d87dd652a4faa43d7
parentdb175fc660e65ef9ded6d999087a9b9aa307b4e5 (diff)
parent3720291ed255ef061aa231414b57848294e1e4f9 (diff)
downloadmeta-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.bb9
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
69EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}" 69EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS} ${@bb.utils.contains_any('PACKAGECONFIG', 'ivigenerator ivigenerator-native', '', 'QMAKE_EXTRA_ARGS+=-no-ivigenerator', d)}"
70 70
71do_compile_prepend() { 71set_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}
79do_compile_prepend() {
80 set_python_paths
81}
82do_install_prepend() {
83 set_python_paths
84}
85
79 86
80BBCLASSEXTEND += "native nativesdk" 87BBCLASSEXTEND += "native nativesdk"
81 88