summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/siggen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index a101ce8bb3..e804d611b9 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -1,6 +1,7 @@
1import hashlib 1import hashlib
2import logging 2import logging
3import re 3import re
4import bb.data
4 5
5logger = logging.getLogger('BitBake.SigGen') 6logger = logging.getLogger('BitBake.SigGen')
6 7
@@ -205,6 +206,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
205 return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.') 206 return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
206 207
207def dump_this_task(outfile, d): 208def dump_this_task(outfile, d):
209 import bb.parse
208 fn = d.getVar("BB_FILENAME", True) 210 fn = d.getVar("BB_FILENAME", True)
209 task = "do_" + d.getVar("BB_CURRENTTASK", True) 211 task = "do_" + d.getVar("BB_CURRENTTASK", True)
210 bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile") 212 bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile")