diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-26 21:27:31 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-02 23:01:17 +0100 |
commit | 3abe23bd217315246ec2d98dc9c390b85cfe6a92 (patch) | |
tree | 088fc8e061b3008d9ceab7b52175148243e259c2 /oe-init-build-env-memres | |
parent | 8becfc2281282a2e63b3bf511936df36315c9cb1 (diff) | |
download | openembedded-core-3abe23bd217315246ec2d98dc9c390b85cfe6a92.tar.gz openembedded-core-3abe23bd217315246ec2d98dc9c390b85cfe6a92.tar.bz2 openembedded-core-3abe23bd217315246ec2d98dc9c390b85cfe6a92.zip |
wic: Refactor getting bitbake variables
Wic gets bitbake variables by parsing output of 'bitbake -e' command.
This implementation improves this procedure as it runs 'bitbake -e' only
when API is called and does it only once, i.e. in a "lazy" way. As parsing
results are cached 'bitbake -e' is run only once and results are parsed
only once per requested set of variables.
get_bitbake_var became the only API call. It replaces find_artifacts,
find_artifact, find_bitbake_env_lines, get_bitbake_env_lines,
set_bitbake_env_lines and get_line_val calls making API much more clear.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'oe-init-build-env-memres')
0 files changed, 0 insertions, 0 deletions