diff options
author | Timon Bergelt <timon.bergelt@pm.me> | 2024-03-28 11:06:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-30 22:25:43 +0000 |
commit | 7d2ea09deb9357385902f1c8ace508af03e8b544 (patch) | |
tree | 9807ba8c037ebbe8b4d44493641321351644eb0a /meta/classes-recipe | |
parent | 04eb94b84e915add4f5444957d6c3bcc65e110b8 (diff) | |
download | poky-7d2ea09deb9357385902f1c8ace508af03e8b544.tar.gz |
populate_sdk_ext.bbclass: only overwirte lsb string if uninative is used
Overwriting the lsb string without inheriting from uninative causes
shared state cache entries to end up in the wrong path where they are
not beeing picked up by the extensible SDK environment.
(From OE-Core rev: 6a4c83919f27f0f552e9b79aed11e3da6791b7e9)
Signed-off-by: Timon Bergelt <timon.bergelt@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index f209becae1..f5687e5899 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass | |||
@@ -494,7 +494,7 @@ def prepare_locked_cache(d, baseoutpath, derivative, conf_initpath): | |||
494 | bb.utils.remove(sstate_out, True) | 494 | bb.utils.remove(sstate_out, True) |
495 | 495 | ||
496 | # uninative.bbclass sets NATIVELSBSTRING to 'universal%s' % oe.utils.host_gcc_version(d) | 496 | # uninative.bbclass sets NATIVELSBSTRING to 'universal%s' % oe.utils.host_gcc_version(d) |
497 | fixedlsbstring = "universal%s" % oe.utils.host_gcc_version(d) | 497 | fixedlsbstring = "universal%s" % oe.utils.host_gcc_version(d) if bb.data.inherits_class('uninative', d) else "" |
498 | 498 | ||
499 | sdk_include_toolchain = (d.getVar('SDK_INCLUDE_TOOLCHAIN') == '1') | 499 | sdk_include_toolchain = (d.getVar('SDK_INCLUDE_TOOLCHAIN') == '1') |
500 | sdk_ext_type = d.getVar('SDK_EXT_TYPE') | 500 | sdk_ext_type = d.getVar('SDK_EXT_TYPE') |