]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cargo: pass PACKAGECONFIG_CONFARGS to cargo build
authorJean-Pierre Geslin <jarsoper@gmail.com>
Wed, 19 Mar 2025 20:59:09 +0000 (21:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Mar 2025 11:29:00 +0000 (11:29 +0000)
commit16745b20452de60ae2474433cc1a2fb1ed9f6a64
tree42dcdd3a5c512f4f926f1b82116a7e2b896f542c
parent5c177d0984e7ca7cc757fab727b96c9ce3b6f0b1
cargo: pass PACKAGECONFIG_CONFARGS to cargo build

In order to allow rust packages to define PACKAGECONFIG options, append
the contents of PACKAGECONFIG_CONFARGS to the build command.
This patch was already submitted by Bartosz Golaszewski on older
version but was never merged. It will be really usefull for Rust recipes.

Signed-off-by: Jean-Pierre Geslin <jarsoper@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cargo.bbclass