[OE-core] [PATCH] populate_sdk_ext: get NATIVELSBSTRING variable
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Dec 13 19:44:16 UTC 2016
Hi Ed,
On Tue, 13 Dec 2016 19:05:49 Ed Bartosh wrote:
> 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)
Have you tested this with OE-Core alone or any other configuration where
uninative is not enabled? I suspect it won't work with that.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list