diff options
Diffstat (limited to 'bitbake/lib/bb/parse')
| -rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index 0834fe3f9b..b895d5b5ef 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
| @@ -48,10 +48,7 @@ __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\-_+.]+)\]$" ) | 48 | __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" ) |
| 49 | 49 | ||
| 50 | def init(data): | 50 | def init(data): |
| 51 | topdir = data.getVar('TOPDIR', False) | 51 | return |
| 52 | if not topdir: | ||
| 53 | data.setVar('TOPDIR', os.getcwd()) | ||
| 54 | |||
| 55 | 52 | ||
| 56 | def supports(fn, d): | 53 | def supports(fn, d): |
| 57 | return fn[-5:] == ".conf" | 54 | return fn[-5:] == ".conf" |
