diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/utils.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 1897c5faea..7a79d752b6 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -281,6 +281,14 @@ def host_gcc_version(d): | |||
281 | version = match.group(1) | 281 | version = match.group(1) |
282 | return "-%s" % version if version in ("4.8", "4.9") else "" | 282 | return "-%s" % version if version in ("4.8", "4.9") else "" |
283 | 283 | ||
284 | |||
285 | def get_multilib_datastore(variant, d): | ||
286 | localdata = bb.data.createCopy(d) | ||
287 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant | ||
288 | localdata.setVar("OVERRIDES", overrides) | ||
289 | localdata.setVar("MLPREFIX", variant + "-") | ||
290 | return localdata | ||
291 | |||
284 | # | 292 | # |
285 | # Python 2.7 doesn't have threaded pools (just multiprocessing) | 293 | # Python 2.7 doesn't have threaded pools (just multiprocessing) |
286 | # so implement a version here | 294 | # so implement a version here |