]> code.ossystems Code Review - openembedded-core.git/commit
classes/utils: Improve all_multilib_tune_values
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 08:59:34 +0000 (08:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 16:13:19 +0000 (17:13 +0100)
commitcc1c481560b81c223170230430308c7e2f08c812
tree59875969c1834392916db19eb9a88293842ab6d0
parentc013ae59a158378d06ecf8eb123df0a10bf986b4
classes/utils: Improve all_multilib_tune_values

Currently there is duplication in the code, we can clean this up
by extending the multilib variants list.

This code also currently fails its its called from an existing multilib
context since its assumes the data store passed in is the non-multilib
case. When building an image, say lib32-core-image-sato, this leads to
incorrect PATH values.

To fix this, we also request a data store for the "" variant allowing
this corner case to be fixed and for the function to correctly return
values for each multilib even when a multilib is already selected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass