diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py')
| -rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index 27665443dd..35321dacfe 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
| @@ -47,6 +47,7 @@ __export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) | |||
| 47 | __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) | 47 | __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) |
| 48 | __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\]$" ) | 48 | __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\]$" ) |
| 49 | __addpylib_regexp__ = re.compile(r"addpylib\s+(.+)\s+(.+)" ) | 49 | __addpylib_regexp__ = re.compile(r"addpylib\s+(.+)\s+(.+)" ) |
| 50 | __addfragments_regexp__ = re.compile(r"addfragments\s+(.+)\s+(.+)" ) | ||
| 50 | 51 | ||
| 51 | def init(data): | 52 | def init(data): |
| 52 | return | 53 | return |
| @@ -197,6 +198,11 @@ def feeder(lineno, s, fn, statements, baseconfig=False, conffile=True): | |||
| 197 | ast.handlePyLib(statements, fn, lineno, m) | 198 | ast.handlePyLib(statements, fn, lineno, m) |
| 198 | return | 199 | return |
| 199 | 200 | ||
| 201 | m = __addfragments_regexp__.match(s) | ||
| 202 | if m: | ||
| 203 | ast.handleAddFragments(statements, fn, lineno, m) | ||
| 204 | return | ||
| 205 | |||
| 200 | raise ParseError("unparsed line: '%s'" % s, fn, lineno); | 206 | raise ParseError("unparsed line: '%s'" % s, fn, lineno); |
| 201 | 207 | ||
| 202 | # Add us to the handlers list | 208 | # Add us to the handlers list |
