summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/ast.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-15 17:59:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 10:06:26 +0100
commit4cd5647f125f61a45d3145b54277471fa1a31433 (patch)
tree61a8727471fc98e968f27318f16c2ecaaf26f9ff /bitbake/lib/bb/parse/ast.py
parent0ef16f083eddb0eccd5fd1604e6e922a38705ae5 (diff)
downloadpoky-4cd5647f125f61a45d3145b54277471fa1a31433.tar.gz
bitbake: cache/ast: Move __VARIANTS handling to parse cache function
Simple refactoring to allow for multiconfig support. (Bitbake rev: 266b848da40904446eb1d084bbdc5307a9b45197) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/ast.py')
-rw-r--r--bitbake/lib/bb/parse/ast.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 8b9baa764c..0fc3a9e7a4 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -469,9 +469,5 @@ def multi_finalize(fn, d):
469 except bb.parse.SkipRecipe as e: 469 except bb.parse.SkipRecipe as e:
470 datastores[variant].setVar("__SKIPPED", e.args[0]) 470 datastores[variant].setVar("__SKIPPED", e.args[0])
471 471
472 if len(datastores) > 1:
473 variants = filter(None, datastores.keys())
474 safe_d.setVar("__VARIANTS", " ".join(variants))
475
476 datastores[""] = d 472 datastores[""] = d
477 return datastores 473 return datastores