diff options
Diffstat (limited to 'bitbake-dev/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake-dev/lib/bb/parse/parse_py/BBHandler.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py b/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py index f13bb015ba..76b917ca5d 100644 --- a/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -114,6 +114,8 @@ def finalise(fn, d): | |||
114 | tasklist = data.getVar('__BBTASKS', d) or [] | 114 | tasklist = data.getVar('__BBTASKS', d) or [] |
115 | bb.build.add_tasks(tasklist, d) | 115 | bb.build.add_tasks(tasklist, d) |
116 | 116 | ||
117 | bb.event.fire(bb.event.RecipeParsed(fn, d)) | ||
118 | |||
117 | 119 | ||
118 | def handle(fn, d, include = 0): | 120 | def handle(fn, d, include = 0): |
119 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__ | 121 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__ |
@@ -160,12 +162,6 @@ def handle(fn, d, include = 0): | |||
160 | f = open(fn,'r') | 162 | f = open(fn,'r') |
161 | abs_fn = fn | 163 | abs_fn = fn |
162 | 164 | ||
163 | if ext != ".bbclass": | ||
164 | dname = os.path.dirname(abs_fn) | ||
165 | if dname not in bbpath: | ||
166 | bbpath.insert(0, dname) | ||
167 | data.setVar('BBPATH', ":".join(bbpath), d) | ||
168 | |||
169 | if include: | 165 | if include: |
170 | bb.parse.mark_dependency(d, abs_fn) | 166 | bb.parse.mark_dependency(d, abs_fn) |
171 | 167 | ||