diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-02-16 15:41:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-21 13:49:56 +0000 |
commit | 05c4692320901eb5c600f04d346cbc743380bfbc (patch) | |
tree | e0f9d3ef28c41eed336044b78b29053d427b7bd8 | |
parent | c538800fd5c7fc4350e69d3fb21325154ab88f87 (diff) | |
download | poky-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>
-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 a101ce8bb3..e804d611b9 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -1,6 +1,7 @@ | |||
1 | import hashlib | 1 | import hashlib |
2 | import logging | 2 | import logging |
3 | import re | 3 | import re |
4 | import bb.data | ||
4 | 5 | ||
5 | logger = logging.getLogger('BitBake.SigGen') | 6 | logger = 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 | ||
207 | def dump_this_task(outfile, d): | 208 | def 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") |