summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Avram <marius.avram@intel.com>2014-03-11 18:37:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 13:51:51 +0000
commit888683de7a25dc2f058b62bf4cad3c4b8e93d56e (patch)
treeac10892836af9d1fe0560b3f9a24d539dad1ccc4
parent99c08eebe5c99c4e8b9ac070193373ba08d2e03f (diff)
downloadpoky-888683de7a25dc2f058b62bf4cad3c4b8e93d56e.tar.gz
bitbake: ConfHandlerr: Use full path in variable history
When an evaluation was made for a configuration file the path to the file was saved as a relative one. The change in this commit will save the location as an absolute path. This way the user will have full information regarding the location of the file where a variable was changed and the line withing the file. [YOCTO #5562] (Bitbake rev: df9e22901555b06fef308f7136547f2c47ccec35) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index f4fb2aa45c..978ebe4608 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -144,7 +144,7 @@ def handle(fn, data, include):
144 # skip comments 144 # skip comments
145 if s[0] == '#': 145 if s[0] == '#':
146 continue 146 continue
147 feeder(lineno, s, fn, statements) 147 feeder(lineno, s, abs_fn, statements)
148 148
149 # DONE WITH PARSING... time to evaluate 149 # DONE WITH PARSING... time to evaluate
150 data.setVar('FILE', abs_fn) 150 data.setVar('FILE', abs_fn)