To install rust and cargo package as images when building yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

To install rust and cargo package as images when building yocto

2,740件の閲覧回数
Anonymous
適用対象外

I am using 5.15.72.

When I do imx full image, I try to include rust and cargo.
Do you know how?

0 件の賞賛
返信
5 返答(返信)

2,704件の閲覧回数
Anonymous
適用対象外

I realized that what I asked was wrong.
What I actually need is a cross_compiler of rust and cargo in the image after build.

0 件の賞賛
返信

2,694件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @Anonymous !

If you want to compile in the Host machine you must use the Yocto toolchain for that work.

If you want to include the compilers on the image of the iMX you can add the next line in the local.conf with the packages that you want in your iMX image.

CORE_IMAGE_EXTRA_INSTALL += "name of the package".

0 件の賞賛
返信

2,687件の閲覧回数
Anonymous
適用対象外

Do you know which package it is?
What I want is
https://github.com/rust-embedded/meta-rust-bin/tree/master
It works.

That is, "pre-built toolchains for the Rust programming language" are included inside the imx image.

0 件の賞賛
返信

2,679件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @Anonymous!

Yes, that package is included in iMX images.

Chavira_0-1684338711217.png

 

0 件の賞賛
返信

2,724件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @Anonymous !

Thank you for contacting NXP Support!

Inside the open embedded Layer exist those packages.

You can consult the installed packages in Open Embedded Layer by following the link.

OpenEmbedded Layer Index - layers

 

Best Regards.

Chavira.

0 件の賞賛
返信