diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 97786c4202..d13428aa0b 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -155,12 +155,6 @@ def handle(fn, d, include = 0): | |||
155 | f = open(fn,'r') | 155 | f = open(fn,'r') |
156 | abs_fn = fn | 156 | abs_fn = fn |
157 | 157 | ||
158 | if ext != ".bbclass": | ||
159 | dname = os.path.dirname(abs_fn) | ||
160 | if bbpath[0] != dname: | ||
161 | bbpath.insert(0, dname) | ||
162 | data.setVar('BBPATH', ":".join(bbpath), d) | ||
163 | |||
164 | if include: | 158 | if include: |
165 | bb.parse.mark_dependency(d, abs_fn) | 159 | bb.parse.mark_dependency(d, abs_fn) |
166 | 160 | ||