diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-02-16 15:41:37 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-02-16 15:41:37 -0700 |
commit | 8eafb12208fcd073f930c0c74f25831d02c02198 (patch) | |
tree | 38cf52a6b28afbec64111b353417338bb898b057 | |
parent | 778571f155139fcf43d0e30e875c39d6592ae03f (diff) | |
download | bitbake-8eafb12208fcd073f930c0c74f25831d02c02198.tar.gz |
siggen: add bb.data, bb.parse imports
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r-- | lib/bb/siggen.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 4dc09b3f9..6fa122da7 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -1,6 +1,7 @@ import hashlib import logging import re +import bb.data logger = logging.getLogger('BitBake.SigGen') @@ -190,6 +191,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic): return "%s.%s.%s" % (stampbase, taskname, h) def dump_this_task(outfile, d): + import bb.parse fn = d.getVar("BB_FILENAME", True) task = "do_" + d.getVar("BB_CURRENTTASK", True) bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile") |