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:08:36 +0100 |
commit | aa470a1fcd09abbc570d3d885aff460603ef9925 (patch) | |
tree | f04cc1fe57fa3a1310ce8c7cab3cd213d5b7c6a1 /meta/recipes-kernel/oprofile/oprofileui-server_git.bb | |
parent | 673343414f4c9db32e3e0c58f07c59954bab734c (diff) | |
download | poky-aa470a1fcd09abbc570d3d885aff460603ef9925.tar.gz |
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.
(From OE-Core rev: 3abe23bd217315246ec2d98dc9c390b85cfe6a92)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofileui-server_git.bb')
0 files changed, 0 insertions, 0 deletions