diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-31 23:52:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 22:42:08 +0100 |
commit | 899d45b90061eb3cf3e71029072eee42cd80930c (patch) | |
tree | 1cef6538b7ff613f4ad79c05640468b6c92fbdec /lib/bb/ui/knotty.py | |
parent | d000493c09ac5c1dcbab22d3a91296a9cb194ac0 (diff) | |
download | bitbake-899d45b90061eb3cf3e71029072eee42cd80930c.tar.gz |
bitbake/data_smart: Change overrides behaviour to remove expanded variables from the datastore
Currently if you do:
OVERRIDES = "z"
DEPENDS_prepend = "a "
DEPENDS = "b"
DEPENDS_z = "c"
d.update_data()
d.getVar("DEPENDS")
gives "a c"
d.update_data()
d.getVar("DEPENDS")
then gives "c"
This patch changes the behaviour such that at the time bitbake expands the DEPENDS_z
override, it removes "DEPENDS_z" from the data store. In the above example this would
mean that it wouldn't matter how often you call d.update_data(), you'd always get
"a c" back.
See the bitbake-devel mailing list for further discussion and analysis of the
potential impact of this change.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/knotty.py')
0 files changed, 0 insertions, 0 deletions