summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cookerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 1658bee93c..d93760c1c1 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -473,7 +473,7 @@ class CookerDataBuilder(object):
473 msg += (" and bitbake did not find a conf/bblayers.conf file in" 473 msg += (" and bitbake did not find a conf/bblayers.conf file in"
474 " the expected location.\nMaybe you accidentally" 474 " the expected location.\nMaybe you accidentally"
475 " invoked bitbake from the wrong directory?") 475 " invoked bitbake from the wrong directory?")
476 raise SystemExit(msg) 476 bb.fatal(msg)
477 477
478 if not data.getVar("TOPDIR"): 478 if not data.getVar("TOPDIR"):
479 data.setVar("TOPDIR", os.path.abspath(os.getcwd())) 479 data.setVar("TOPDIR", os.path.abspath(os.getcwd()))