[OE-core] [PATCH 1/5] classes/populate_sdk_ext: use uninative to set NATIVELSBSTRING
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Dec 22 03:19:14 UTC 2015
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].
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
meta/classes/populate_sdk_ext.bbclass | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 802cbe1..3d64e48 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -149,11 +149,6 @@ python copy_buildsystem () {
# Bypass the default connectivity check if any
f.write('CONNECTIVITY_CHECK_URIS = ""\n\n')
- # Another hack, but we want the native part of sstate to be kept the same
- # regardless of the host distro
- fixedlsbstring = 'SDK-Fixed'
- f.write('NATIVELSBSTRING_forcevariable = "%s"\n\n' % fixedlsbstring)
-
# Ensure locked sstate cache objects are re-used without error
f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n')
@@ -180,6 +175,8 @@ python copy_buildsystem () {
sstate_out = baseoutpath + '/sstate-cache'
bb.utils.remove(sstate_out, True)
+ # uninative.bbclass sets NATIVELSBSTRING to 'universal'
+ fixedlsbstring = 'universal'
oe.copy_buildsystem.create_locked_sstate_cache(lockedsigs_pruned,
d.getVar('SSTATE_DIR', True),
sstate_out, d,
--
2.5.0
More information about the Openembedded-core
mailing list