bitbake: data_smart: Move getVar expand cache handing to fix _remove operations
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 20:14:25 +0000 (20:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 21:31:32 +0000 (22:31 +0100)
commit54ed51ee999b112f6ac105ad068a93c515a85224
tree377d40ba785ede67df587ca2f6ea1458f62611cf
parenta5a1fa2243ce154ff02d29b3e1bf680f42e51cbb
bitbake: data_smart: Move getVar expand cache handing to fix _remove operations

DISTRO_FEATURES_remove = "opengl" wasn't working as expected. The reason
turned out the be the indirect reference to opengl and the fact _remove was
operating on unexpanded data.

This patch rearranges some code to ensure we operate on expanded data
by moving the expand cache handing into getVarFlags instead of getVar.

(Bitbake rev: 181899bd9665f74f8d1b22d2453616ad30d26d9e)

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