From 888683de7a25dc2f058b62bf4cad3c4b8e93d56e Mon Sep 17 00:00:00 2001 From: Marius Avram Date: Tue, 11 Mar 2014 18:37:06 +0200 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/parse') 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): # skip comments if s[0] == '#': continue - feeder(lineno, s, fn, statements) + feeder(lineno, s, abs_fn, statements) # DONE WITH PARSING... time to evaluate data.setVar('FILE', abs_fn) -- cgit v1.2.3-54-g00ecf