bitbake: data_smart: Ensure all possible overrides are cached including those with...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 May 2014 09:20:17 +0000 (10:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 May 2014 09:29:58 +0000 (10:29 +0100)
commit4e4b23d13207badbc8fc53b8e06c134ee78660ac
tree0c43b42ecb05ff804f6be9ffc4e9ef43a6079172
parent4b0101c74501b0ec5b1c3cd36883494adf2d7199
bitbake: data_smart: Ensure all possible overrides are cached including those with '_' in the name

Unfortunately we've been neglecting to pay the correct tributes to the
cookie monster and hence the datastore is malfunctioning.

Currently tributes are only paid on the last part of a variable after
the last "_" character. We need to split by *all* "_" characters since
an override may contain the character.

This fixes the code so the correct number of tributes are made. Paradoxically
parsing appears to be faster after this change.

(Bitbake rev: d1c712fd3a59fa804e6fd451612c30487671f3a2)

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