summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-16 15:41:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-21 13:49:56 +0000
commit05c4692320901eb5c600f04d346cbc743380bfbc (patch)
treee0f9d3ef28c41eed336044b78b29053d427b7bd8 /bitbake/lib
parentc538800fd5c7fc4350e69d3fb21325154ab88f87 (diff)
downloadpoky-05c4692320901eb5c600f04d346cbc743380bfbc.tar.gz
siggen: add bb.data, bb.parse imports
(Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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")