cargo-bitbake icon indicating copy to clipboard operation
cargo-bitbake copied to clipboard

oe recipe vs rust project naming

Open jwinarske opened this issue 3 years ago • 0 comments

In order to use auto-generated recipe without changes, one needs to edit the usage of '_' in the recipe name references.

Example Rust project

registration_server

Auto-generated

registration_server_0.4.0.bb
registration_server-${PV}.inc
registration_server.inc

In order to build correctly OE recipe requires changing '_' to '-'. Such as:

registration-server_0.4.0.bb

The '_' is used to prefix ${PV}

Cargo bitbake should automatically handle this, so the auto-generated recipe can be used as-is.

jwinarske avatar Apr 11 '22 15:04 jwinarske