diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2016-08-17 12:58:24 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-08-17 12:58:44 +0300 |
commit | 0f25d3ba14c8e5e946c834f1508b5c4d3931c0cc (patch) | |
tree | 5204c200c70f02858cdf88b1a59f519212497e71 /classes/sdk-sources.bbclass | |
parent | 6b5219b8034c9ffd3094657486e500119ad47325 (diff) | |
parent | 10c9d074e0b3a00ef45d0764c7283fe2cdade101 (diff) | |
download | meta-boot2qt-0f25d3ba14c8e5e946c834f1508b5c4d3931c0cc.tar.gz |
Merge remote-tracking branch 'origin/jethro' into dev
* origin/jethro: (26 commits)
Fix colibri- vf & imx7 partitions
Add u-boot script for iMX7
Fix colibri-vf and imx6 build
Fix colibri-vf build
Add support for Toradex Colibri-iMX7
Updated Boundary devices kernel version to 3.14.52
Updated neptune-ui, qtivi, and appman sha
Update GammaRay and enable workaround for Boot2Qt compatibility
Added QMLLive to automotive images
Update gammaray version to fc0b87dcff40276bc1e4ad6c86674363ca576617 --> 2.5
Change git fetch protocol from ssh to http for automotive packages
Change b2qt-addons fetch protocol from git to http
b2qt-ota: update repository URL
b2qt-demos: update qtwebbrowser url
systemd: handle bind mounts set from initramfs
Enable QT_QPA_EGLFS_FORCEVSYNC=1 on nitrogen6x device.
Colibri fails to build after this change, so we revert it.
Update Qt submodule revisions
Updated Boundary devices kernel version to 3.14.52
Update meta-mingw version
...
Change-Id: I951db6a4f523eb9a6ad72dc3013702a5ef44d56c
Diffstat (limited to 'classes/sdk-sources.bbclass')
-rw-r--r-- | classes/sdk-sources.bbclass | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/classes/sdk-sources.bbclass b/classes/sdk-sources.bbclass index 435bb1a..b12f371 100644 --- a/classes/sdk-sources.bbclass +++ b/classes/sdk-sources.bbclass | |||
@@ -52,6 +52,7 @@ python do_fetch () { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | python do_unpack () { | 54 | python do_unpack () { |
55 | sdk_uds = []; | ||
55 | src_uri = (d.getVar('SRC_URI', True) or "").split() | 56 | src_uri = (d.getVar('SRC_URI', True) or "").split() |
56 | if len(src_uri) == 0: | 57 | if len(src_uri) == 0: |
57 | return | 58 | return |
@@ -64,17 +65,18 @@ python do_unpack () { | |||
64 | for url in uris: | 65 | for url in uris: |
65 | ud = list(bb.fetch2.decodeurl(url)) | 66 | ud = list(bb.fetch2.decodeurl(url)) |
66 | if ("sdk-uri" in ud[5]): | 67 | if ("sdk-uri" in ud[5]): |
67 | unpack_local_uri(ud, d) | 68 | sdk_uds.append(ud) |
68 | src_uri.remove(url) | 69 | src_uri.remove(url) |
69 | 70 | ||
70 | if len(src_uri) == 0: | 71 | if len(src_uri) != 0: |
71 | return | 72 | try: |
73 | fetcher = bb.fetch2.Fetch(src_uri, d) | ||
74 | fetcher.unpack(rootdir) | ||
75 | except bb.fetch2.BBFetchException as e: | ||
76 | raise bb.build.FuncFailed(e) | ||
72 | 77 | ||
73 | try: | 78 | for ud in sdk_uds: |
74 | fetcher = bb.fetch2.Fetch(src_uri, d) | 79 | unpack_local_uri(ud, d) |
75 | fetcher.unpack(rootdir) | ||
76 | except bb.fetch2.BBFetchException as e: | ||
77 | raise bb.build.FuncFailed(e) | ||
78 | } | 80 | } |
79 | 81 | ||
80 | def unpack_local_uri(ud, d): | 82 | def unpack_local_uri(ud, d): |