summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index eaee797cb5..eab95d0336 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -530,6 +530,9 @@ class BBCooker:
bb.data.delVar('LAYERDIR', data)
+ if not data.getVar("BBPATH", True):
+ bb.fatal("The BBPATH variable is not set")
+
data = bb.parse.handle(os.path.join("conf", "bitbake.conf"), data)
self.configuration.data = data