diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-03-01 09:20:29 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-22 15:03:46 +0000 |
commit | 04263dc426f2444d822915257b28393eb8ff6198 (patch) | |
tree | e0d884cdea9599364a07caec84c83845910752c0 /meta/classes/siteinfo.bbclass | |
parent | 2f9e15afbe988a76b9581093b8bd469e275a0b9e (diff) | |
download | openembedded-core-04263dc426f2444d822915257b28393eb8ff6198.tar.gz openembedded-core-04263dc426f2444d822915257b28393eb8ff6198.tar.bz2 openembedded-core-04263dc426f2444d822915257b28393eb8ff6198.tar.xz openembedded-core-04263dc426f2444d822915257b28393eb8ff6198.zip |
cooker: bail out early if no files to build
This prevents a misleading backtrace:
ERROR: no files to build.
Command execution failed: Traceback (most recent call last):
File ".../bitbake/build/lib/bb/command.py", line 83, in runAsyncCommand
self.cooker.updateCache()
File ".../bitbake/build/lib/bb/cooker.py", line 779, in updateCache
if not self.parser.parse_next():
File ".../bitbake/build/lib/bb/cooker.py", line 969, in parse_next
cooker.bb_cache.sync()
UnboundLocalError: local variable 'cooker' referenced before assignment
(Bitbake rev: 060ef3d957615b7eb1209dc0d01ebeb53f8c4edc)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
0 files changed, 0 insertions, 0 deletions