bitbake/siggen: Provide better warnings about empty tasks

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-11-02 13:17:06 +00:00
parent 6a8fec9675
commit 88f6f3fadf

View File

@ -74,6 +74,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
lookupcache[dep] = var
if var:
data = data + var
if data is None:
bb.error("Task %s from %s seems to be empty?!" % (task, fn))
self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest()
#bb.note("Hash for %s is %s" % (task, tashhash[task]))