Message ID | 20250324173715.399785-1-richard.purdie@linuxfoundation.org |
---|---|
State | New |
Headers | show |
Series | Revert "cargo: pass PACKAGECONFIG_CONFARGS to cargo build" | expand |
diff --git a/meta/classes-recipe/cargo.bbclass b/meta/classes-recipe/cargo.bbclass index 461d100dd96..76a39668c7d 100644 --- a/meta/classes-recipe/cargo.bbclass +++ b/meta/classes-recipe/cargo.bbclass @@ -48,7 +48,7 @@ oe_cargo_build () { bbnote "Using rust targets from ${RUST_TARGET_PATH}" bbnote "cargo = $(which ${CARGO})" bbnote "${CARGO} build ${CARGO_BUILD_FLAGS} $@" - "${CARGO}" build ${CARGO_BUILD_FLAGS} ${PACKAGECONFIG_CONFARGS} "$@" + "${CARGO}" build ${CARGO_BUILD_FLAGS} "$@" } do_compile[progress] = "outof:\s+(\d+)/(\d+)"
This reverts commit 16745b20452de60ae2474433cc1a2fb1ed9f6a64. A recipe may need to pass PACKAGECONFIG_CONFARGS to rust instead of cargo so the recipe does need to make this choice, the class can't. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes-recipe/cargo.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)