mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a6f8a3f12e
commit
a4f496ae43
@@ -149,11 +149,6 @@ python copy_buildsystem () {
|
|||||||
# Bypass the default connectivity check if any
|
# Bypass the default connectivity check if any
|
||||||
f.write('CONNECTIVITY_CHECK_URIS = ""\n\n')
|
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
|
# Ensure locked sstate cache objects are re-used without error
|
||||||
f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n')
|
f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n\n')
|
||||||
|
|
||||||
@@ -180,6 +175,8 @@ python copy_buildsystem () {
|
|||||||
|
|
||||||
sstate_out = baseoutpath + '/sstate-cache'
|
sstate_out = baseoutpath + '/sstate-cache'
|
||||||
bb.utils.remove(sstate_out, True)
|
bb.utils.remove(sstate_out, True)
|
||||||
|
# uninative.bbclass sets NATIVELSBSTRING to 'universal'
|
||||||
|
fixedlsbstring = 'universal'
|
||||||
oe.copy_buildsystem.create_locked_sstate_cache(lockedsigs_pruned,
|
oe.copy_buildsystem.create_locked_sstate_cache(lockedsigs_pruned,
|
||||||
d.getVar('SSTATE_DIR', True),
|
d.getVar('SSTATE_DIR', True),
|
||||||
sstate_out, d,
|
sstate_out, d,
|
||||||
|
|||||||
Reference in New Issue
Block a user