diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 56d4672b0f..85c27c24cc 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -76,8 +76,7 @@ def inherit(files, fn, lineno, d): | |||
76 | file = os.path.join('classes', '%s.bbclass' % file) | 76 | file = os.path.join('classes', '%s.bbclass' % file) |
77 | 77 | ||
78 | if not os.path.isabs(file): | 78 | if not os.path.isabs(file): |
79 | dname = os.path.dirname(fn) | 79 | bbpath = d.getVar("BBPATH", True) |
80 | bbpath = "%s:%s" % (dname, d.getVar("BBPATH", True)) | ||
81 | abs_fn, attempts = bb.utils.which(bbpath, file, history=True) | 80 | abs_fn, attempts = bb.utils.which(bbpath, file, history=True) |
82 | for af in attempts: | 81 | for af in attempts: |
83 | if af != abs_fn: | 82 | if af != abs_fn: |