summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index bf7e9859ac..b006d06720 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -81,6 +81,10 @@ def include(parentfn, fn, lineno, data, error_out):
81 fn = data.expand(fn) 81 fn = data.expand(fn)
82 parentfn = data.expand(parentfn) 82 parentfn = data.expand(parentfn)
83 83
84 if not fn:
85 # "include" or "require" without parameter is fine, just return.
86 return
87
84 if not os.path.isabs(fn): 88 if not os.path.isabs(fn):
85 dname = os.path.dirname(parentfn) 89 dname = os.path.dirname(parentfn)
86 bbpath = "%s:%s" % (dname, data.getVar("BBPATH")) 90 bbpath = "%s:%s" % (dname, data.getVar("BBPATH"))