diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/ConfHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index af3af2ccee..d876f6c1ff 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
@@ -68,6 +68,9 @@ def include(parentfn, fns, lineno, data, error_out, all=False): | |||
68 | # "include" or "require" accept zero to n space-separated file names to include. | 68 | # "include" or "require" accept zero to n space-separated file names to include. |
69 | for fn in fns.split(): | 69 | for fn in fns.split(): |
70 | if all: | 70 | if all: |
71 | if os.path.isabs(fn): | ||
72 | raise ParseError("Incorrect use of include_all with an absolute path %s" % fn, parentfn, lineno) | ||
73 | |||
71 | for path in data.getVar("BBPATH").split(":"): | 74 | for path in data.getVar("BBPATH").split(":"): |
72 | include_single_file(parentfn, os.path.join(path, fn), lineno, data, error_out) | 75 | include_single_file(parentfn, os.path.join(path, fn), lineno, data, error_out) |
73 | else: | 76 | else: |