mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
lib/oe/utils: Fix get_multilib_datastore to work for original tune
Currently the original datastore returned by this function doesn't always work as the tune isn't set back to the original. Fix it to work like all_multilib_tune_list() in utils.bbclass and correct the data returned. (From OE-Core rev: 4e1dc858fbf671ef27089a2b9bcdc965fe19d698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
14dfb7ea59
commit
5875571f03
|
@ -368,6 +368,9 @@ def get_multilib_datastore(variant, d):
|
|||
localdata.setVar("OVERRIDES", overrides)
|
||||
localdata.setVar("MLPREFIX", variant + "-")
|
||||
else:
|
||||
origdefault = localdata.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL")
|
||||
if origdefault:
|
||||
localdata.setVar("DEFAULTTUNE", origdefault)
|
||||
overrides = localdata.getVar("OVERRIDES", False).split(":")
|
||||
overrides = ":".join([x for x in overrides if not x.startswith("virtclass-multilib-")])
|
||||
localdata.setVar("OVERRIDES", overrides)
|
||||
|
|
Loading…
Reference in New Issue
Block a user