diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index e54858cf02..d6206b7319 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -342,6 +342,9 @@ class CookerDataBuilder(object): | |||
342 | layers = (data.getVar('BBLAYERS') or "").split() | 342 | layers = (data.getVar('BBLAYERS') or "").split() |
343 | broken_layers = [] | 343 | broken_layers = [] |
344 | 344 | ||
345 | if not layers: | ||
346 | bb.fatal("The bblayers.conf file doesn't contain any BBLAYERS definition") | ||
347 | |||
345 | data = bb.data.createCopy(data) | 348 | data = bb.data.createCopy(data) |
346 | approved = bb.utils.approved_variables() | 349 | approved = bb.utils.approved_variables() |
347 | 350 | ||