summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-12-22 16:19:14 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-28 09:25:12 +0000
commita4f496ae43d6c2698050d79b1f010cbc30ef901d (patch)
treebe90b06d7ff1c8ed207dfe8bd4ec03cadf89d0a6 /meta/classes/populate_sdk_ext.bbclass
parenta6f8a3f12ef0a6f7fe4123b8854848a4c6cf94c7 (diff)
downloadpoky-a4f496ae43d6c2698050d79b1f010cbc30ef901d.tar.gz
classes/populate_sdk_ext: use uninative to set NATIVELSBSTRING
We inherit uninative in the extensible SDK configuration, and uninative sets NATIVELSBSTRING to a fixed value, so we don't need to force the value ourselves. Fixes [YOCTO #8662]. (From OE-Core rev: 918814c05d670bccb05d61fa848fd0d93da3a7b0) Signed-off-by: Paul Eggleton <paul.eggleton@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.bbclass7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 802cbe1abe..3d64e487fe 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -149,11 +149,6 @@ python copy_buildsystem () {
149 # Bypass the default connectivity check if any 149 # Bypass the default connectivity check if any
150 f.write('CONNECTIVITY_CHECK_URIS = ""\n\n') 150 f.write('CONNECTIVITY_CHECK_URIS = ""\n\n')
151 151
152 # Another hack, but we want the native part of sstate to be kept the same
153 # regardless of the host distro
154 fixedlsbstring = 'SDK-Fixed'
155 f.write('NATIVELSBSTRING_forcevariable = "%s"\n\n' % fixedlsbstring)
156
157 # Ensure locked sstate cache objects are re-used without error 152 # Ensure locked sstate cache objects are re-used without error
158 f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n') 153 f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n')
159 154
@@ -180,6 +175,8 @@ python copy_buildsystem () {
180 175
181 sstate_out = baseoutpath + '/sstate-cache' 176 sstate_out = baseoutpath + '/sstate-cache'
182 bb.utils.remove(sstate_out, True) 177 bb.utils.remove(sstate_out, True)
178 # uninative.bbclass sets NATIVELSBSTRING to 'universal'
179 fixedlsbstring = 'universal'
183 oe.copy_buildsystem.create_locked_sstate_cache(lockedsigs_pruned, 180 oe.copy_buildsystem.create_locked_sstate_cache(lockedsigs_pruned,
184 d.getVar('SSTATE_DIR', True), 181 d.getVar('SSTATE_DIR', True),
185 sstate_out, d, 182 sstate_out, d,