diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index af794b4c42..194595ce8b 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1656,7 +1656,7 @@ class BBCooker: | |||
1656 | # Return a copy, don't modify the original | 1656 | # Return a copy, don't modify the original |
1657 | pkgs_to_build = pkgs_to_build[:] | 1657 | pkgs_to_build = pkgs_to_build[:] |
1658 | 1658 | ||
1659 | if len(pkgs_to_build) == 0: | 1659 | if not pkgs_to_build: |
1660 | raise NothingToBuild | 1660 | raise NothingToBuild |
1661 | 1661 | ||
1662 | ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split() | 1662 | ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split() |
@@ -1795,10 +1795,10 @@ class CookerCollectFiles(object): | |||
1795 | files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem)[0] ) | 1795 | files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem)[0] ) |
1796 | config.setVar("BBFILES_PRIORITIZED", " ".join(files)) | 1796 | config.setVar("BBFILES_PRIORITIZED", " ".join(files)) |
1797 | 1797 | ||
1798 | if not len(files): | 1798 | if not files: |
1799 | files = self.get_bbfiles() | 1799 | files = self.get_bbfiles() |
1800 | 1800 | ||
1801 | if not len(files): | 1801 | if not files: |
1802 | collectlog.error("no recipe files to build, check your BBPATH and BBFILES?") | 1802 | collectlog.error("no recipe files to build, check your BBPATH and BBFILES?") |
1803 | bb.event.fire(CookerExit(), eventdata) | 1803 | bb.event.fire(CookerExit(), eventdata) |
1804 | 1804 | ||