summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-04-27 10:53:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:05:52 +0100
commitca1f4d7279417cbfb1966c27311a5e39d571d742 (patch)
tree0b1f00e9dab98422135a5656863c0c5cd31cf0c5 /meta/lib
parenta8c7558c76bb5f512d3aca4e3bbb1158635601c8 (diff)
downloadpoky-ca1f4d7279417cbfb1966c27311a5e39d571d742.tar.gz
devtool: include bbappends in recipe parsing
In order to get correct metadata, SRCREV for example. Fixes [YOCTO #7648]. (From OE-Core rev: 8b1794559dd7fd956716179d628e61cffdce1686) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/recipeutils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 159a103719..09bd7fdb46 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -44,10 +44,10 @@ def get_unavailable_reasons(cooker, pn):
44 return taskdata.get_reasons(pn) 44 return taskdata.get_reasons(pn)
45 45
46 46
47def parse_recipe(fn, d): 47def parse_recipe(fn, appends, d):
48 """Parse an individual recipe""" 48 """Parse an individual recipe"""
49 import bb.cache 49 import bb.cache
50 envdata = bb.cache.Cache.loadDataFull(fn, [], d) 50 envdata = bb.cache.Cache.loadDataFull(fn, appends, d)
51 return envdata 51 return envdata
52 52
53 53
@@ -55,7 +55,7 @@ def get_var_files(fn, varlist, d):
55 """Find the file in which each of a list of variables is set. 55 """Find the file in which each of a list of variables is set.
56 Note: requires variable history to be enabled when parsing. 56 Note: requires variable history to be enabled when parsing.
57 """ 57 """
58 envdata = parse_recipe(fn, d) 58 envdata = parse_recipe(fn, [], d)
59 varfiles = {} 59 varfiles = {}
60 for v in varlist: 60 for v in varlist:
61 history = envdata.varhistory.variable(v) 61 history = envdata.varhistory.variable(v)