Em sáb., 9 de jul. de 2022 às 10:14, Richard Purdie <richard.purdie@linuxfoundation.org> escreveu:
On Thu, 2022-07-07 at 14:19 -0300, Otavio Salvador wrote:
> We need full target passed for build so we changed the
> rust-cross-canadian to use same code used in regular rust recipes and
> added support to use specific llvm-target for the building host.
>
> Fixes: ef566af964 ("rust: fix issue building cross-canadian tools for aarch64 on x86_64")
> Fixes: bd36593ba3 ("rust-common: Drop LLVM_TARGET and simplify")
> Fixes: 8ed000debb ("rust-common: Fix for target definitions returning 'NoneType' for arm")
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>
>  meta/recipes-devtools/rust/rust-common.inc    | 21 ++++++++++++------
>  .../rust/rust-cross-canadian-common.inc       | 22 ++++++++++++++++---
>  2 files changed, 33 insertions(+), 10 deletions(-)

I ran these through the autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/3809/steps/14/logs/stdio

seems there is some syntax that recent python doesn't like. I do need
to look at the patches in more detail but wanted to share the
autobuilder results.

I will fix and send a v2.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750