diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-25 23:22:25 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-07-20 12:10:40 -1000 |
commit | 833cbde6c12410b8fe9e1089470713b1172be0c9 (patch) | |
tree | 5341f192e92c44767c757ae66133975a0f13206d /scripts/lib/devtool/upgrade.py | |
parent | 569b57b9d2bce2633e2395fd796f0900a92f0dcf (diff) | |
download | poky-833cbde6c12410b8fe9e1089470713b1172be0c9.tar.gz |
cargo.bbclass: set up cargo environment in common do_compile
cargo_do_compile runs only if the recipe is built using cargo
as the top level tool. Some recipes hide usage of cargo inside setuptools
(or autoconf) and use do_compile definitions specific to those,
and so the environment isn't properly set up.
This was exposed by latest versions of python3-cryptography.
(From OE-Core rev: a1946efdbec608d47f9e992c1b5cf3c671a204fc)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f4ff643a028d7f5670d80861f2ce19ca2d90faa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions