aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-16 15:41:37 -0700
committerChris Larson <chris_larson@mentor.com>2011-02-16 15:41:37 -0700
commit8eafb12208fcd073f930c0c74f25831d02c02198 (patch)
tree38cf52a6b28afbec64111b353417338bb898b057
parent778571f155139fcf43d0e30e875c39d6592ae03f (diff)
downloadbitbake-8eafb12208fcd073f930c0c74f25831d02c02198.tar.gz
bitbake-8eafb12208fcd073f930c0c74f25831d02c02198.tar.bz2
bitbake-8eafb12208fcd073f930c0c74f25831d02c02198.zip
siggen: add bb.data, bb.parse imports
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/siggen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 4dc09b3f..6fa122da 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")