To install rust and cargo package as images when building yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

To install rust and cargo package as images when building yocto

2,436 次查看
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,400 次查看
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,390 次查看
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,383 次查看
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,375 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @Anonymous!

Yes, that package is included in iMX images.

Chavira_0-1684338711217.png

 

0 项奖励
回复

2,420 次查看
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 项奖励
回复