]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cache: allow parsing a recipe with a custom config datastore
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 30 Aug 2016 08:45:09 +0000 (20:45 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Sep 2016 15:29:36 +0000 (16:29 +0100)
commit5b3fedfe0822dd7effa4b6d5e96eaf42669a71df
tree1b61e1564b8eb80c769a82aee127846c9e79df1b
parent131e6dc4bbd197774d35d2b266bfb0816f6e6b1e
cache: allow parsing a recipe with a custom config datastore

To accommodate the OpenEmbedded layer index recipe parsing, we have to
have the ability to pass in a custom config datastore since it
constructs a synthetic one. To make this possible after the multi-config
changes, rename the internal _load_bbfile() function to parse_recipe(),
make it a function at the module level (since it doesn't actually need
to access any members of the class or instance) and move setting
__BBMULTICONFIG inside it since other code will expect that to be set.

Part of the fix for [YOCTO #10192].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
lib/bb/cache.py