summaryrefslogtreecommitdiffstats
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-05-18 13:14:21 +0100
commitdb0832ead63020788f5d10360f0704e9ee280916 (patch)
treeaaeb953a855012be3dad554626be4d5e8c43399b
parent863bfa81afcb643cb1e22b1ba3cb765b8f24a51d (diff)
downloadpoky-db0832ead63020788f5d10360f0704e9ee280916.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) (From OE-Core rev: 31ce79200035584c26576afe043688132532bc8b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 6d8edca16d..9269a93601 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -224,7 +224,10 @@ python copy_buildsystem () {
224 f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n') 224 f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n')
225 225
226 # Hide the config information from bitbake output (since it's fixed within the SDK) 226 # Hide the config information from bitbake output (since it's fixed within the SDK)
227 f.write('BUILDCFG_HEADER = ""\n') 227 f.write('BUILDCFG_HEADER = ""\n\n')
228
229 # Map gcc-dependent uninative sstate cache for installer usage
230 f.write('SSTATE_MIRRORS = "file://universal/(.*) file://universal-4.9/\\1\\nfile://universal-4.9/(.*) file://universal-4.8/\\1"\n\n')
228 231
229 # Allow additional config through sdk-extra.conf 232 # Allow additional config through sdk-extra.conf
230 fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d) 233 fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d)