From 43595fabbe0c9084a3878645aef8e3e1c2f79452 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 31 Aug 2010 14:49:43 +0100 Subject: bitbake: Implement signatures Includes functionality to find out what changes between two different singature data dumps. Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/bb/parse/__init__.py') diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index 95f372b00b..c7249ef050 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py @@ -28,6 +28,7 @@ handlers = [] import bb, os import bb.utils +import bb.siggen class ParseError(Exception): """Exception raised when parsing fails""" @@ -79,6 +80,9 @@ def init(fn, data): if h['supports'](fn): return h['init'](data) +def init_parser(d): + bb.parse.siggen = bb.siggen.init(d) + def resolve_file(fn, d): if not os.path.isabs(fn): bbpath = bb.data.getVar("BBPATH", d, True) -- cgit v1.2.3-54-g00ecf