From 4cd5647f125f61a45d3145b54277471fa1a31433 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 15 Aug 2016 17:59:56 +0100 Subject: 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 --- bitbake/lib/bb/parse/ast.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bitbake/lib/bb/parse/ast.py') 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): except bb.parse.SkipRecipe as e: datastores[variant].setVar("__SKIPPED", e.args[0]) - if len(datastores) > 1: - variants = filter(None, datastores.keys()) - safe_d.setVar("__VARIANTS", " ".join(variants)) - datastores[""] = d return datastores -- cgit v1.2.3-54-g00ecf