[OE-core] [PATCH] populate_sdk_ext: get NATIVELSBSTRING variable
Ed Bartosh
ed.bartosh at linux.intel.com
Tue Dec 13 17:05:49 UTC 2016
Setting fixedlsbstring to 'universal' can break populate_sdk_ext
task as NATIVELSBSTRING can be set to universal-<gcc version> in
some cases.
Getting NATIVELSBSTRING value using getVar should fix this.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
meta/classes/populate_sdk_ext.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 3c3a73c..6ef48c0 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -374,8 +374,8 @@ python copy_buildsystem () {
sstate_out = baseoutpath + '/sstate-cache'
bb.utils.remove(sstate_out, True)
- # uninative.bbclass sets NATIVELSBSTRING to 'universal'
- fixedlsbstring = 'universal'
+
+ fixedlsbstring = d.getVar('NATIVELSBSTRING', True)
sdk_include_toolchain = (d.getVar('SDK_INCLUDE_TOOLCHAIN', True) == '1')
sdk_ext_type = d.getVar('SDK_EXT_TYPE', True)
--
2.1.4
More information about the Openembedded-core
mailing list