summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-12 17:52:04 +0000
commitfd30939f5fe6c0c905b65cb45c9ce69e07a68362 (patch)
tree2e75e4283a8b99c24d57a62fb577d1026f889884 /meta/classes
parente0b862b68c20922c6ee05039de87555eeb88351a (diff)
downloadpoky-fd30939f5fe6c0c905b65cb45c9ce69e07a68362.tar.gz
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] (From OE-Core rev: fb945c0fd2e66d70461e6cf2e602020eeabe32f7) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 1904508af3..8cd31f3c06 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -308,7 +308,10 @@ python copy_buildsystem () {
308 f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work"\n\n') 308 f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work"\n\n')
309 309
310 # Hide the config information from bitbake output (since it's fixed within the SDK) 310 # Hide the config information from bitbake output (since it's fixed within the SDK)
311 f.write('BUILDCFG_HEADER = ""\n') 311 f.write('BUILDCFG_HEADER = ""\n\n')
312
313 # Map gcc-dependent uninative sstate cache for installer usage
314 f.write('SSTATE_MIRRORS = "file://universal/(.*) file://universal-4.9/\\1\\nfile://universal-4.9/(.*) file://universal-4.8/\\1"\n\n')
312 315
313 # Allow additional config through sdk-extra.conf 316 # Allow additional config through sdk-extra.conf
314 fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d) 317 fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d)