diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-02 13:17:06 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-02 13:17:06 +0000 |
commit | 88f6f3fadf16d957bc24f5a3af4c4c67017353ad (patch) | |
tree | b442c1810e92f808f2280768af23d879bf98ff60 /bitbake | |
parent | 6a8fec96755a39c5c23c6957e2c43b6f2af29448 (diff) | |
download | poky-88f6f3fadf16d957bc24f5a3af4c4c67017353ad.tar.gz |
bitbake/siggen: Provide better warnings about empty tasks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 06a48f1765..1a84796759 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -74,6 +74,8 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
74 | lookupcache[dep] = var | 74 | lookupcache[dep] = var |
75 | if var: | 75 | if var: |
76 | data = data + var | 76 | data = data + var |
77 | if data is None: | ||
78 | bb.error("Task %s from %s seems to be empty?!" % (task, fn)) | ||
77 | self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() | 79 | self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() |
78 | #bb.note("Hash for %s is %s" % (task, tashhash[task])) | 80 | #bb.note("Hash for %s is %s" % (task, tashhash[task])) |
79 | 81 | ||