diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-16 18:00:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 10:07:23 +0100 |
commit | 189371f8393971d00bca0fceffd67cc07784f6ee (patch) | |
tree | 3b210e6773ea695a18db318f538e47842a1b9e2c /scripts/lib/recipetool/setvar.py | |
parent | 8b35b032ed47e8f8a89bce354ffd82e0301043ac (diff) | |
download | poky-189371f8393971d00bca0fceffd67cc07784f6ee.tar.gz |
devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds
Unfortunately to implenent multiconfig support in bitbake some APIs
had to change. This updates code in OE to match the changes in bitbake.
Its mostly periperhal changes around devtool/recipetool
[Will need a bitbake version requirement bump which I'll make when merging]
(From OE-Core rev: 041212fa37bb83acac5ce4ceb9b7b77ad172c5c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/setvar.py')
-rw-r--r-- | scripts/lib/recipetool/setvar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/setvar.py b/scripts/lib/recipetool/setvar.py index 657d2b6a7b..85701c06a9 100644 --- a/scripts/lib/recipetool/setvar.py +++ b/scripts/lib/recipetool/setvar.py | |||
@@ -51,7 +51,7 @@ def setvar(args): | |||
51 | if args.recipe_only: | 51 | if args.recipe_only: |
52 | patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)] | 52 | patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)] |
53 | else: | 53 | else: |
54 | rd = oe.recipeutils.parse_recipe(args.recipefile, None, tinfoil.config_data) | 54 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, args.recipefile, None) |
55 | if not rd: | 55 | if not rd: |
56 | return 1 | 56 | return 1 |
57 | patches = oe.recipeutils.patch_recipe(rd, args.recipefile, varvalues, patch=args.patch) | 57 | patches = oe.recipeutils.patch_recipe(rd, args.recipefile, varvalues, patch=args.patch) |