diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 6cb8d560f2..47502adc3c 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -168,6 +168,11 @@ def handleBBHandlers(m, d): | |||
168 | data.setVarFlag(h, "handler", 1, d) | 168 | data.setVarFlag(h, "handler", 1, d) |
169 | data.setVar('__BBHANDLERS', bbhands, d) | 169 | data.setVar('__BBHANDLERS', bbhands, d) |
170 | 170 | ||
171 | def handleInherit(m, d): | ||
172 | files = m.group(1) | ||
173 | n = __word__.findall(files) | ||
174 | inherit(n, d) | ||
175 | |||
171 | def supports(fn, d): | 176 | def supports(fn, d): |
172 | return fn[-3:] == ".bb" or fn[-8:] == ".bbclass" or fn[-4:] == ".inc" | 177 | return fn[-3:] == ".bb" or fn[-8:] == ".bbclass" or fn[-4:] == ".inc" |
173 | 178 | ||
@@ -376,10 +381,7 @@ def feeder(lineno, s, fn, root, d): | |||
376 | 381 | ||
377 | m = __inherit_regexp__.match(s) | 382 | m = __inherit_regexp__.match(s) |
378 | if m: | 383 | if m: |
379 | 384 | handleInherit(m, d) | |
380 | files = m.group(1) | ||
381 | n = __word__.findall(files) | ||
382 | inherit(n, d) | ||
383 | return | 385 | return |
384 | 386 | ||
385 | from bb.parse import ConfHandler | 387 | from bb.parse import ConfHandler |