diff options
author | Marta Rybczynska <rybczynska@gmail.com> | 2022-02-21 18:44:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:36:48 +0000 |
commit | d12400600e30549c88dc9e7883dc3d63b1dc1117 (patch) | |
tree | 8222b39e45e699737bf52746a27b6120af2945fd /bin | |
parent | bc27762bf3ffb4a20b58eace5302438c4a526626 (diff) | |
download | bitbake-d12400600e30549c88dc9e7883dc3d63b1dc1117.tar.gz |
lib/bb: fix exit when found renamed variables
Until now, if a renamed variable was found, bitbake exited
immediately if it was in a class, but continued after an error
message if the variable was in a recipe. This was caused by
cookerdata.py CookerDataBuilder::parseBaseConfiguration checking
a different DataSmart instance than the variable was set in.
To solve the issue, add a special variable and set it when we
find a renamed variable. Check for it in ast.py and bail out
if needed.
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions