]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: bb.data_smart: only try to expand refs to valid variable names
authorChristopher Larson <chris_larson@mentor.com>
Fri, 18 Jan 2019 16:45:54 +0000 (21:45 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jan 2019 23:44:34 +0000 (23:44 +0000)
commit7178c69ea26b0887624b470db677050ac6603d7e
tree5036579b1a63b0651e145ad85186e061e5f407dc
parent1873c9605dcfb0af6eb57936c8adf3a9e23dcfb0
bitbake: bb.data_smart: only try to expand refs to valid variable names

This aligns the behavior of expansion with the recipe parser, only
attempting to expand references to valid variable names. This avoids
adding references for things like `${foo#${TOPDIR}}` to our vardeps
without imposing much additional processing overhead beyond the change
to the expansion regexp.

YOCTO #12987

(Bitbake rev: df2ac65370aa86cdbc1574fdede25e3519410e45)

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