cargo-bitbake
cargo-bitbake copied to clipboard
oe recipe vs rust project naming
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.