bitbake: cooker: Split configuration parsing code into cookerdata
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 May 2013 22:00:31 +0000 (23:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 May 2013 11:10:14 +0000 (12:10 +0100)
commitf1430b68d1142b796c0cbd17685a9617ffe8fce1
tree7788be39891f13a9fd5d487a23c726611eec3c76
parent1b8eaa219c35494a9e6131d0702c9a139924c975
bitbake: cooker: Split configuration parsing code into cookerdata

In order to have a memory resident bitbake and to allow task execution, we need
to be able to rebuild the base configuration without a cooker. This moves the
code into its own class so it can be built independently.

The interface is less than ideal here but I didn't want to add parsing methods
a subclassed DataSmart, at least until we've experimented further with this code
and are certain that makes sense. At the very least, the methods are ugly and need
cleaning up.  Spliting the code out seems to be the right thing to do though and
should unblock various activities on BitBake so I believe this code is a step in
the right direction.

Based on a patch from Alexandru Damian <alexandru.damian@intel.com>

(Bitbake rev: 22a0b3cf73d2689db0c118b37aa7492632f8b0a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py
bitbake/lib/bb/cookerdata.py