summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-05c4692320901eb5c600f04d346cbc743380bfbc.tar.gz
openembedded-core-05c4692320901eb5c600f04d346cbc743380bfbc.tar.bz2
openembedded-core-05c4692320901eb5c600f04d346cbc743380bfbc.zip
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 @@
import hashlib
import logging
import re
+import bb.data
logger = logging.getLogger('BitBake.SigGen')
@@ -205,6 +206,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
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")