summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-04 20:48:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-05 13:53:44 +0000
commit549df5f82c9b2d4feb6f459cb3b2f240efb9a981 (patch)
tree8ad9a20222863728b69dd58d7a8f6566d9a27405 /meta/classes/populate_sdk_ext.bbclass
parent689b676bbf2f1a5fadb04aeb41d5e68e35356545 (diff)
downloadopenembedded-core-549df5f82c9b2d4feb6f459cb3b2f240efb9a981.tar.gz
openembedded-core-549df5f82c9b2d4feb6f459cb3b2f240efb9a981.tar.bz2
openembedded-core-549df5f82c9b2d4feb6f459cb3b2f240efb9a981.zip
populate_sdk_ext: fix working with uninative sstate
Mapped uninative sstate directories to make ext SDK installer to use them when it's run on systems with gcc version different from gcc version used to build installer. [YOCTO #10832] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0812eead0a..fc9cc223b6 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -308,7 +308,10 @@ python copy_buildsystem () {
f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work"\n\n')
# Hide the config information from bitbake output (since it's fixed within the SDK)
- f.write('BUILDCFG_HEADER = ""\n')
+ f.write('BUILDCFG_HEADER = ""\n\n')
+
+ # Map gcc-dependent uninative sstate cache for installer usage
+ f.write('SSTATE_MIRRORS = "file://universal/(.*) file://universal-4.9/\\1\\nfile://universal-4.9/(.*) file://universal-4.8/\\1"\n\n')
# Allow additional config through sdk-extra.conf
fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d)