I'm currently integrating Rust into my existing Yocto Dunfell build. Since the latest meta-rust doesn't support Dunfell, I'm using their Dunfell branch.
My build configurations are:
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "qrbx210-rbx"
DISTRO = "qti-distro-rb-debug"
DISTRO_VERSION = "QRBX210.LE.1.0-00018-STD.PROD-2"
TUNE_FEATURES = "aarch64 armv8a crc"
TARGET_FPU = ""
DISTRO_NAME = "QTI Linux robotics platform distro with debug capabilities."
ROS_DISTRO = "foxy"
ROS_VERSION = "2"
ROS_PYTHON_VERSION = "3"
During the build process, I'm encountering errors specifically with the recipes rust.{version}.bb
and rust-native.bb
. Despite successfully adding Cargo to the build by appending cargo
to IMAGE_INSTALL
in layer.conf
, the same approach doesn't seem to work for rust
or rustc
.
I'm unsure why this is happening and would appreciate any insights or suggestions. Apologies if I've overlooked something, as I'm relatively new to this.