diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-20 17:08:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-04 12:57:43 +0000 |
commit | 41ea1be73c1945403440a0e38a156227702d415f (patch) | |
tree | 65278d415ca4bce80f3042e2fbe5298e6389f05d /meta/classes/utils.bbclass | |
parent | 3ab224951c3210e8a5a3a1f5995372b0f2501163 (diff) | |
download | poky-41ea1be73c1945403440a0e38a156227702d415f.tar.gz |
utils: Make get_multilib_datastore available from lib/oe
Currently we can't access this function from lib/oe as its a class function.
Move it to allow such access.
(From OE-Core rev: b241a666f2867ffa425f6d43763d7c3c17941dcf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r-- | meta/classes/utils.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 8e07eac07a..32cae7e312 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -364,12 +364,7 @@ def multilib_pkg_extend(d, pkg): | |||
364 | return pkgs | 364 | return pkgs |
365 | 365 | ||
366 | def get_multilib_datastore(variant, d): | 366 | def get_multilib_datastore(variant, d): |
367 | localdata = bb.data.createCopy(d) | 367 | return oe.utils.get_multilib_datastore(variant, d) |
368 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant | ||
369 | localdata.setVar("OVERRIDES", overrides) | ||
370 | localdata.setVar("MLPREFIX", variant + "-") | ||
371 | return localdata | ||
372 | get_multilib_datastore[vardepsexclude] = "OVERRIDES" | ||
373 | 368 | ||
374 | def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): | 369 | def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): |
375 | """Return a string of all ${var} in all multilib tune configuration""" | 370 | """Return a string of all ${var} in all multilib tune configuration""" |